DNS still resolves to old server after 4+ days

I should first start by saying this is only happening on my Macbook in all browsers, through my router connection and also tethered to my phone using a different network provider.

The following resolves to the correct IP:

dig +short foxharbr.com @bill.ns.cloudflare.com
72.167.143.44
dig +short foxharbr.com @rose.ns.cloudflare.com
72.167.143.44

The following does not (old IP address):

PING foxharbr.com (52.60.133.59): 56 data bytes
64 bytes from 52.60.133.59: icmp_seq=0 ttl=47 time=10.687 ms
64 bytes from 52.60.133.59: icmp_seq=1 ttl=47 time=10.003 ms

I use 1.1.1.1 as my LAN DNS server and have used the purge tool on A and HTTPS, but to no avail.

I also tried flushing my Mac DNS cache via: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Iā€™m unsure how or why the domain still resolves to the old server on my local machine. Any help would be really appreciated!

Welcome to the Cloudflare Community. :logodrop:

Have you checked your /etc/hosts file to see if you have any static entries that would cause the DNS lookup to be skipped?

1 Like

That was the issue. I forgot 5 years ago, I had to edit the etc/hosts file.

Thank you!

2 Likes

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