I have DNS service from a third party, which provides an webapp for changing the DNS. I changed the DNS settings to point one of the domains I control to our new IP, but it's been hours and there was no change to the status.
Not being very familiar with how DNS changes work, I'm tring to debug what's happening - or rather not happening. I'm in the understanding that DNS takes a while to get distributed globally as caches expire, but I would like to confirm that the change has happened on my provider's DNS sever and thus that the change is underway.
The previous IP was
126.96.36.199 and the new is
188.8.131.52 (changed for this article)
First I confirmed that the domain is actually using the nameserver that I can make changes to:
ilari@alux:~$ dig mydomain.fi NS ; <<>> DiG 9.7.3 <<>> mydomain.fi NS ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6569 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 4 ;; QUESTION SECTION: ;mydomain.fi. IN NS ;; ANSWER SECTION: mydomain.fi. 77916 IN NS dns2.myprovider.com. mydomain.fi. 77916 IN NS dns3.myprovider.com. mydomain.fi. 77916 IN NS dns.myprovider.com. mydomain.fi. 77916 IN NS dns4.myprovider.com. ;; ADDITIONAL SECTION: dns.myprovider.com. 1582 IN A 10.11.12.13 dns2.myprovider.com. 1442 IN A 10.11.12.14 dns3.myprovider.com. 1715 IN A 10.11.12.15 dns4.myprovider.com. 1457 IN A 10.11.12.16
(I originally used
whois mydomain.fi for this, but I now realize that was not the proper way, since it doesn't actually query the DNS, only what's written about it in the whois record, if anything.)
After that, I tried using
host to fetch results directly from the provider's server. I assume it should immediatly result in displaying the new IP, but instead:
ilari@alux:~$ host mydomain.fi dns.myprovider.com Using domain server: Name: dns.myprovider.com Address: 10.11.12.13#53 Aliases: mydomain.fi has address 184.108.40.206
This was after many hours. I thought it should have changed to 220.127.116.11 immediately since it should query the exact server I'm making changes to from the web interface. What should I expect to see as results?
How do I make sure the web interface at my provider has worked, and the DNS has changed properly at their server?
It turns out this was a problem at their end. The web interface hadn't made the change properly, and the IP wasn't actually changed at their DNS server.
After their problem was solved, there was still a few minutes delay after the change was seen with
host mydomain.fi dns.myprovider.com (and of course longer until the change is seen globally).