[EDIT: as Jai points out in the FB comments, the problem was likely forgetting IPv6. The AAAA record is now updated, and I should be able to tell in a few hours whether that fixed it.]
I'm helping my dad migrate some code to a new server. It was at
18.104.22.168 for years, but ten days ago he changed
his DNS settings to point to
looks good to me:
$ dig notes.billingadvantage.com notes.billingadvantage.com. 1800 IN A 22.214.171.124The TTL is 1800s, or 30min, which agrees with dns.google. I expected everyone would be moved over within a couple hours, but a week later the old server is still receiving traffic nearly as much as the new:
|date||old server||new server|
The old server getting no traffic on the 13th and 14th is probably because that's the weekend, and the users who happen to be still stuck on the old site aren't using it on the weekend. I asked one of the users still getting the old server to try rebooting, to no effect.
I thought maybe something was misconfigured with the name servers, but it looks fine:
$ whois billingadvantage.com \ | grep 'Name Server' Name Server: NS1.ZEROLAG.COM Name Server: NS2.ZEROLAG.COM $ dig notes.billingadvantage.com \ @ns1.zerolag.com notes.billingadvantage.com. 1800 IN A 126.96.36.199 $ dig notes.billingadvantage.com \ @ns2.zerolag.com notes.billingadvantage.com. 1800 IN A 188.8.131.52I'm not seeing any references to the old IP address anywhere.
Any guesses about why the traffic isn't moving over?
Your A records are fine, but you seem to have changed name servers. Your old NS records are probably cached all over the place; the TTL on those seems to be 48 hours. It looks like the old server (at my-tss.com) is serving the correct data now, but it was probably still serving stale data when you saw the problem. Possibly it took it a while to realize that it wasn't authoritative for the zone, or possibly there was an update problem.
Generally, it's better to do the server change and the data change separately. And you have to make sure that the new and old servers are serving the same thing through the full TTL of the old NS records, or at least have the old server definitively reconfigured not to see itself as authoritative so that it can avoid misleading other systems when it gets a query.
Evidence: If I let my system use my ISP's servers and do
dig -t ns bilingadvantage.com., I get the wrong cached data:
... but if I go and query the actual GTLD servers, say with
dig -t ns @a.gtld-servers.net billingadvantage.com, I get the right data: