How to test an Edge DNS zone processing

Once you’ve set up your Edge DNS zone, you can test it to see if it’s properly processing your information.


Domain Information Groper (DIG) is a network administration command-line tool. It’s useful for network troubleshooting and for educational purposes. When a specific nameserver isn’t specified in the command invocation, it uses the operating system’s default resolver, usually configured in the file resolv.conf. Without any arguments, it queries the DNS root zone.

To test Edge DNS, you must use one of the Azion nameservers that you’ve configured in your DNS registry.

go to DIG command guide

Host queries the DNS, converting domain names into IP addresses and vice-versa. If no argument or option is provided, the host prints a brief summary of the command line options and arguments.

For example, if you have the following settings:

NameTypeValueTTL
wwwA192.168.0.1

192.168.0.2

192.168.0.3
3600

To check how Edge DNS handles a type A query, registered to the www record, run:

Terminal window
host www.example.com ns1.aziondns.net

The response to this will be:

Terminal window
Using domain server: Name: ns1.aziondns.net Address: 179.191.160.2#53 Aliases: www.example.com has address 192.168.0.1 www.example.com has address 192.168.0.2 www.example.com has address 192.168.0.3

nslookup is a tool used to obtain information about DNS records for a particular domain, host, or IP.

For example, if you have the following settings:

NameTypeValueTTL
wwwA192.168.0.1

192.168.0.2

192.168.0.3
3600

To check how Edge DNS handles a type A query, registered to the www record, run the following command:

Terminal window
nslookup www.example.com ns1.aziondns.net

The response to this will be:

Terminal window
Server: ns1.aziondns.net Address: 179.191.160.2#53 Name: www.example.com Address: 192.168.0.1 Name: www.example.com Address: 192.168.0.2 Name: www.example.com Address: 192.168.0.3

Contributors