DNS Made Simple – version 2/?php posted_on(); ?>
The A and CNAME records are the two common ways to map an host name (name hereafter) to one or more IP address. Before going ahead, it’s important that you really understand the differences between these two records. I’ll keep it simple.
- The A record points a name to a specific IP. For example, if you want the name blog.dnsimple.com to point to the server 184.108.40.206 you will configure blog.dnsimple.com – A 220.127.116.11
- The CNAME record points a name to another name, instead of an IP. The CNAME source represents an alias for the target name and inherits its entire resolution chain. Let’s take our blog as example:
blog.dnsimple.com. – CNAME aetrion.github.io.
aetrion.github.io. – CNAME github.map.fastly.net.
github.map.fastly.net – A 18.104.22.168
- We use GitHub Pages and we set blog.dnsimple.com as a CNAME of aetrion.github.io, which in turns is itself a CNAME of github.map.fastly.net, which is an A record pointing to 22.214.171.124. In short terms, this means that blog.dnsimple.com resolves to 126.96.36.199.
To summarize, an A record points a name to an IP. CNAME record can point a name to another CNAME or an A record.
Website Design and Development toolbox – DNS Made Simple – version 2, by professional Graphic Designer and Website Designer. David Ashurst Design, Springwood QLD 4127