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.
Using the DIG command
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 guideUsing the HOST command
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:
Name | Type | Value | TTL |
---|---|---|---|
www | A | 192.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 response to this will be:
Using the NSLOOKUP command
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:
Name | Type | Value | TTL |
---|---|---|---|
www | A | 192.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:
The response to this will be: