Topics Map > DNS Basics
Topics Map > DDI Pilot

DNS resource record load balancing (why it is not a good idea)

DNS resource record load balancing (why it is not a good idea)

You can have multiple 'A' records for a domain name that point at different IPs.

However, DNS doesn't do application health checks, so if your server or application goes offline, requests will still be sent to the unreachable server. Reachability can be solved with dynamic DNS, short TTLs and aggressive health checking. For example, DoIT could provide a dns server zone that allows dynamic updates but it would the application specialist's problem to write the health checker and DNS update scripts.

DNS also doesn't keep state, which can be important for maintaining some tcp based interactions. Dynamic DNS doesn't solve this problem.

Given the above, load balancing with static DNS is generally recommended against unless the application itself can be made to handle failover. Other load balancing techniques should be investigated.

See Also:

Keywords:DNS resource record load balancing round robin   Doc ID:14541
Owner:Tim C.Group:DNS, DHCP, and IPAM
Created:2010-06-23 19:00 CDTUpdated:2020-08-04 11:12 CDT
Sites:DNS, DHCP, and IPAM, Network Services, Systems & Network Control Center
Feedback:  0   0