[DNS1.01] DNS, Nameservers

The Domain Name System, or DNS, is the means by which computers connected to the Internet get information about each other. The individual pieces of information are known as records; each record is of a certain type. Computers look up records for a domain by asking the name server for the domain about the records relevant to that domain

IP addresses are the numbers which identify computers to each other. 

DNS record types:

A records

These contain a mapping from a name to an IP address. For example, there is an A record set up for "pfphosts.co.uk" which points from "www" to for example "80.176.211.43". An A record does not in itself mean that any particular service is available from the computer at that address; it just translates the name to the IP address. 

CNAME records

These contain a mapping from one name (known as an alias) to another name (known as a CNAME, or canonical name). When a computer looks up records for the alias, it is given the records for the cname instead. 

For example, if we set up a CNAME record for "pfphosts.co.uk" with alias "web" and cname "www", then all queries for "web.pfphosts.co.uk" would be given the information for "www.pfphosts.co.uk". A cname can be a name within the samedomain, as in our example, or it can be a full name, like "www.zimhosts.com."; the dot on the end shows that this is a full name. 

MX records

These say where email for a domain is to be delivered. A domain can have several MX records; each one has a priority from 0 to 100. Email is delivered to the one with the lowest number first, and to any others only if the first one cannot accept it. For example, there is an MX record for "pfphosts.co.uk" pointing to "mail.pfphosts.co.uk", with priority 10. This causes our email to be delivered to "mail.pfphosts.co.uk

Was this answer helpful?

 Print this Article