In: Computer Science
How does DNS balance load across a system replica servers?
DNS load balancing is the practice of configuring a domain in the Domain Name System such that the client requests to the domain are distributed accross a group of servers.It facilitates faster access to a domain by providing several IP addresses for a single host which routes traffic between two or more servers
Five important steps during the process are as mentioned below
1.In response to a client's request an application submits a DNS query to a recursive DNS server
2.The DNS server forwards the query to the appropriate authoritative name server.
3.Authoritative server provides an answer to the query
4.A recursive DNS server caches the response and forwards it to the client's application
5.The client's application uses the response to fulfill the request
Techniques to achieve load balancing
Backup server:A clone instance of a domain is created to serve as a seccondary DNS.The primary DNS may rediret traffic to this server at runtime.
Round robin DNS based load sharing:DNS requests are rotated and shared accross multiple domainn servers instances .
Dynamic DNS load balancing:DNS requests are routed between domain servers with the best available resources and minimal load