Why to use MULTIPLE NAME SERVERS...
Multiple Name Servers:
As described in the previous tutorial on DNS, two to seven name servers can be registered against a domain name. These are DNS servers that contain information on where to find services (such as www or email) for a particular domain name. There are two main reasons for providing more than one DNS server for each domain. The first is to provide protection against a DNS server going down- if a DNS server failed for any reason (eg. power outage, communication failure etc.) the domains using this DNS server would be unobtainable since the IP address of these domains could not be retrieved. Instead, having two or more (which should be geographically and topologically seperate) means that if a request to one of them fails, the name server can be requested again. The name servers are requested and in normal circumstances, information from any of the DNS servers is used (which normally contain the same information). The chances of two DNS servers going down independently to each other are very slim.
Lets walk through what happens when one DNS server fails for a request to www.wight-hat.com. The name servers registered against the domain name wight-hat.com are “ns1.wight-hat.com 78.40.39.230″ and “ns2.wight-hat.com 64.15.153.83″ when one of the name servers is down.
If one of the servers had twice the capacity of the other, you may wish to send it twice as much traffic. In this case you would duplicate the A record for the high capacity server so that you had 3 A records- 2 for the high capacity server and 1 for the other server. Your server load would now be split 66/33.
Whilst this is an effective way to load balance servers, it provides no protection against a server becoming unavailable. Using DNS records we have come up with a method of providing protection against this eventuality as well as load balancing which we discuss in the next section.
As described in the previous tutorial on DNS, two to seven name servers can be registered against a domain name. These are DNS servers that contain information on where to find services (such as www or email) for a particular domain name. There are two main reasons for providing more than one DNS server for each domain. The first is to provide protection against a DNS server going down- if a DNS server failed for any reason (eg. power outage, communication failure etc.) the domains using this DNS server would be unobtainable since the IP address of these domains could not be retrieved. Instead, having two or more (which should be geographically and topologically seperate) means that if a request to one of them fails, the name server can be requested again. The name servers are requested and in normal circumstances, information from any of the DNS servers is used (which normally contain the same information). The chances of two DNS servers going down independently to each other are very slim.
Lets walk through what happens when one DNS server fails for a request to www.wight-hat.com. The name servers registered against the domain name wight-hat.com are “ns1.wight-hat.com 78.40.39.230″ and “ns2.wight-hat.com 64.15.153.83″ when one of the name servers is down.
- The ISP requests the name server for wight-hat.com and receives the name servers. The name servers are “ns1.wight-hat.com 78.40.39.230″ and “ns2.wight-hat.com 64.15.153.83″.
- A request is sent to 78.40.39.230 for the location of wight-hat.com but, this DNS server is not online and the request fails.
- A request is sent to 64.15.153.83 for the location of wight-hat.com and the DNS record information is returned.
If one of the servers had twice the capacity of the other, you may wish to send it twice as much traffic. In this case you would duplicate the A record for the high capacity server so that you had 3 A records- 2 for the high capacity server and 1 for the other server. Your server load would now be split 66/33.
Whilst this is an effective way to load balance servers, it provides no protection against a server becoming unavailable. Using DNS records we have come up with a method of providing protection against this eventuality as well as load balancing which we discuss in the next section.
Comments
Post a Comment