/ Web developer toolset

Adding a CNAME record to the DNS

In order to check your current DNS records, you may use this tool https://www.samdns.com/

DNS records checking tool

It allows you to specify DNS server, so you don't need to wait for the DNS propagation or clearing any cache.

It is especially useful if you are unsure how does your provider DNS panel work and to check if all the records you have edited/added are correct.

If you don't know your provider DNS server IP address use a command line utility like ping or just paste DNS domain name inside "DNS Lookup" Domain field. In this example I'm looking for the IP of the dns1.mydevil.net DNS server.

Looking for DNS IP address

Then click "Go". As a result you will find A record for your DNS domain name which is an IP address you are looking for.

DNS server IP address

An example check for CNAME record.

Enter the DNS record you are looking for, select its type and fill the DNS IP address (your provider DNS).

DNS CNAME check

Here is how results may look like. In case of the CNAME record in the Answer column you will see the domain which is pointed by your source domain.

DNS CNAME check result

CNAME configuration example

Adding a subdomain CNAME record to the DNS is just adding a record to your main domain DNS records list. For example, if you want to add a CNAME record which will point blog.grzegorowski.com to some other domain (let say example.domain.com) you would probably add the following line to the main domain records list:

CNAME record

All your domain DNS records may look as follows:

CNAME record - domain DNS records list

This example is from my current hosting provider (Mydevil.net), but depending on the provider configuration you may need to end Target domain with a dot e.g. example.domain.com..

Adding a CNAME record to the DNS
Share this