Nameservers pointing to another IP

One of my websites randomly is going to another IP address, when I do a DNS check, I can see the name server A record is setup point to two IP addresses which aren’t setup on my account. I tried setting up the domain again and got new nameservers, which worked fine and pointed to my site, but I checked again yesterday, and I can see that these new nameservers are now also pointing to this alternative IP again, so my domain keeps being redirected to another (Spam) server. Does anyone know how can I stop this and where this other A record is coming from that is linked to my nameservers?

The IP starting with 104 is the correct IP.

magicfootball com IN A
magicfootball com 300 IN A
**magicfootball com 300 IN A**
magicfootball com 172800 IN NS
magicfootball com. 172800 IN NS
;ADDITIONAL 100467 IN A ???
** 100467 IN A**
** 100467 IN A** 100467 IN AAAA 2606:4700:58::adf5:3ba7 100467 IN AAAA 2803:f800:50::6ca2:c1a7 100467 IN AAAA 2a06:98c1:50::ac40:21a7 104973 IN A ???
** 104973 IN A**
** 104973 IN A** 104973 IN AAAA 2606:4700:50::adf5:3aae 104973 IN AAAA 2803:f800:50::6ca2:c0ae 104973 IN AAAA 2a06:98c1:50::ac40:20ae

If using Cloudflare and if :orange: is at your DNS records, the Cloudflare uses as much IP addresses so it is possible sometimes returns out to have two ot three as a return, either if you have only one IP address added to your record at Cloudflare DNS dashboard.

Some domains may see three Cloudflare IPs, usually two starting with 104. and one starting with 172. They can even change from month to month.

1 Like

Thanks, I managed to figure out that the IP was cloudflare. What I also noticed was that the redirect was actually caused by caching from the DNS.

What was strange is the fact that I had removed the site from Cloudflare and it appears it was setup by someone else using the same nameservers. I checked the IP it had been pointing too and discovered 10,000 other domains pointing to this same IP.

So, if you remove a site from cloudflare and someone re-adds it, is it possible the same nameservers that were used are allocated?

Anyway, thank you very much for your answer. I will mark it as the solution.

1 Like

It’s always risky to delete a domain from DNS without changing name servers at your registrar. While Cloudflare has MANY combinations of name servers, and it’s unlikely someone will stumble upon your deletion, there’s a chance someone else may leap at the chance. Much more likely when you host at a place that has a very limited Name Server selection, like and

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.