Checking Your Domain Name Servers

Here’s how to check which DNS name servers are currently authoratative for your domain. You need to do this to make sure you are changing the domain name records on the right system.

But First …

Step by Step

We need to use the standard DNS command tools but tell them specifically that we want to see the NS type of records.

In this example, I’ll just use the skilstak.io domain. Be sure to replace with your own domain.

dig skilstak.io ns 
; <<>> DiG 9.11.3-1ubuntu1.5-Ubuntu <<>> skilstak.io ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26939
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;skilstak.io.           IN  NS

;; ANSWER SECTION:
skilstak.io.        3600    IN  NS  dns2.p07.nsone.net.
skilstak.io.        3600    IN  NS  dns1.p07.nsone.net.
skilstak.io.        3600    IN  NS  dns4.p07.nsone.net.
skilstak.io.        3600    IN  NS  dns3.p07.nsone.net.

;; Query time: 424 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Sat Apr 27 14:21:46 EDT 2019
;; MSG SIZE  rcvd: 129

If you are using my standard approach to having Netlify manage your domain records then you should see the same nsone.net servers that I have above. If you see anything else it means your name servers still need to be set with your registrar (for example, namecheap.com).

If you see something like the following it means you have more do to with your account at namecheap.com and have not told NameCheap to use the Netlify name servers.

;; ANSWER SECTION:
skilstak.io.        180    IN    NS    verify-contact-details.namecheap.com.
skilstak.io.        180    IN    NS    failed-whois-verification.namecheap.com.