Friday, December 11, 2015

DNS - Other important services in addition to translating hostnames to IP addresses

Host Aliasing
  • Host with a complicated hostname can have one or more alias names. For example, a hostname such  as relay.ex1-test.example.com
  • Then in this example host has  two aliases such as example.com and www.example.com. 
  • In this case, the hostname relay.ex1-test.example.com is said to be a canonical hostname. Alias hostnames, when present, are typically more mnemonic than canonical hostnames.
  • Then we typed example.com or www.example.com in the browsers it map to same server 82.166.201.163
You can do simple exercise using packet tracer shown go through  link
Mail server aliasing
Above obvious reasons  e-mail addresses also be mnemonic. For example, if Bob has an account with Hotmail, Bob’s e-mail address might be as simple as bob@hotmail.com. 
However, the hostname of the Hotmail mail server is more complicated and much less mnemonic than simply hotmail.com (for example, the canonical hostname might be something like relay1.west-coast.hotmail.com). 
DNS can be invoked by a mail application to obtain the canonical hostname for a supplied alias hostname as well as the IP address of the host.
Load distribution.
 DNS is also used to perform load distribution among replicated servers, such as replicated Web servers. Busy sites, such as cnn.com, are replicated over multiple servers, with each server running on a different end system and each having a different IP address. 
For replicated Web servers, a set of IP addresses is thus associated with one canonical hostname.
The DNS database contains this set of IP addresses. When clients make a DNS query for a name mapped to a set of addresses, the server responds with the entire set of IP addresses, but rotates the ordering of the addresses within each reply. Because a client typically sends its HTTP request message to the IP address that is listed

you can find the all the IP address for one canonical name tiring below example. 
 How to find the all the ip adddress for one domain name

No comments:

Post a Comment