Thursday, 8 July 2010

How to check if a DNS change is propagating

Sometimes, you make a change to the DNS at your registrar, and nothing happens for a day. You could be forgiven for wondering if anything has changed, or if the change is just propagating.

Simple way to check this is, find out a name server responsible for the top level domain, or in the case that you bought a second level domain, a level above your domain.

For example, with BesplatnoSMS.co.rs, the level above my domain is co.rs, I can find the responsible Name servers for co.rs with:

C:\Windows\system32>nslookup -q=ns co.rs
Server: dir-615
Address: 192.168.0.1

Non-authoritative answer:
co.rs nameserver = odisej.telekom.rs
co.rs nameserver = ns1.nic.rs

odisej.telekom.rs internet address = 195.178.32.2

Then, I can check the record held by this DNS server with a specific NSLookup request

C:\Windows\system32>nslookup -q=ns besplatnosms.co.rs ns1.nic.rs
Server: ns.etf.rs
Address: 147.91.8.6

besplatnosms.co.rs nameserver = ns3.openmerchantaccount.com
besplatnosms.co.rs nameserver = ns4.openmerchantaccount.com
besplatnosms.co.rs nameserver = ns5.openmerchantaccount.com

Even though at the time of writing, the change (the addition of a third nameserver) hadn't propagated to my laptop.

No comments: