Inbound Load Balancing distributes inbound data traffic over multiple WAN links to computers behind Peplink Balance. Peplink Balance 210, 310, 305, 380, 580, 710, and 1350 have a built-in DNS server that enables this functionality.
Authoritative DNS functionality is not available on Peplink Balance 20 and 30.
Inbound Load Balancing is configured via both of the following:
- [DNS records configured within Peplink Balance](https://forum.peplink.com/t/how-to-set-up-the-integrated-dns-server-for-inbound-load-balancing/7701/1)
- External DNS records at an Authoritative DNS Server
- The domain foobar.com is resolved by an authoritative DNS external to Peplink Balance.
- The web server that serves www․foobar․com is housed behind Peplink Balance, where Peplink Balance distributes the web server’s data traffic across two WAN links (i.e. WAN1 and WAN2).
- The authoritative DNS delegates to Peplink Balance the resolution of hostname www․foobar․com. For the purpose of this example, other hosts (e.g. mail, ftp, etc.) in the foobar.com domain are resolved by the authoritative DNS.
- Authoritative DNS records that enable Inbound Load Balancing to www․foobar․com are shown in blue in the following diagram.
- A client computer requires resolution for www․foobar․com, and queries the Authoritative DNS Server for foobar.com.
- The Authoritative DNS Server for foobar.com checks its DNS records:
- The DNS records of type “NS” delegate the resolution of hostname www․foobar․com to two places:wan1balance, and wan2balance
- wan1balance represents the hostname at which Peplink Balance can be reached via its WAN1 connection.
- wan2balance represents the hostname at which Peplink Balance can be reached via its WAN2 connection.
- Both wan1balance and wan2balance are returned as the result of the DNS query.
- The client computer queries, via wan1balance, the DNS of Peplink Balance for the resolution of www․foobar․com. In the event that the WAN1 connection is down, the DNS query would not succeed. However, as a built-in mechanism of the DNS protocol, the client computer then queries via wan2balance to resolve the hostnamewww․foobar․com.
- Peplink Balance, upon receiving the DNS query, returns to the client computer the IP addresses ofwww․foobar․com that correspond to available WAN links. For example:
- If both WAN1 and WAN2 are available, then both the IP address that corresponds to WAN1 and that of WAN2 are returned.
- If WAN1 is available but WAN2 is down, then the IP address that corresponds to WAN1 is returned, but that of WAN2 is not returned.