DNS Fun
Well, it would maybe not be so fun if it were for a commercial or any other critical site, but for me, it’s quite entertaining. ( Simple minds, simple pleasures, you know ;))
We have three hosts:
My Mac
My old hosting
My new hosting
All three are asked to do a nslookup
on my domain mycvs.org
. The results are interesting (Output from dig
on all three hosts)
On my Mac:
;; QUESTION SECTION:;mycvs.org. IN A
;; ANSWER SECTION:mycvs.org. 370 IN A 69.0.209.129
On my old hosting:
;; QUESTION SECTION:;mycvs.org. IN A
;; ANSWER SECTION:mycvs.org. 300 IN A 217.26.52.13
On my new hosting:
;; QUERY SECTION:;; mycvs.org, type = A, class = IN
;; ANSWER SECTION:mycvs.org. 5M IN A 217.26.52.13
Fun. My clients (Safari) will be redirected to the old hosting but the very same server that serves the page does not really consider itself as being the right one anymore. It already got their DNS update right away.
Luckily, the email messages from the old and new hosting can be retrieved, independently of the correct DNS resolution.
Unluckily, Spammers eventually will get their DNS records updated with the new IP too. I can not simply disregard all olde email that ends up on the old server.
BTW: This post also means that I successfully moved my server now. Those with old DNS records won’t see that entry before some hours time.