A domain stopped resolving for me yesterday on my MacBook running macOS 10.15.7 (Catalina). Ping cannot reach it and browsers cannot reach it, and all other domains / websites are fine on the computer:
- It resolves on my other computer and my iPhone on the same Wi-Fi network.
- Ping fails with the cannot resolve / Unknown host error message.
- traceroute also gives me an unknown host error.
- Dig on the other hand does find the correct IP.
- Host also finds the correct IP.
- If I add the domain and its IP to my hosts file, it works fine.
Things I’ve tried:
- I tried re-booting the computer and the router, with no luck.
- I tried 'forgetting' and then reconnecting to the Wi-Fi network, with no luck.
- I tried flushing dns (
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache
), with no luck.
My only clue as to what might have caused the problem is I was connected yesterday afternoon via VPN (FortiClient VPN) yesterday to my employer’s network and while I was editing the website belonging to this domain, the VPN went down, and that’s when the problem started.
The domain would have been resolving through the VPN at the time it went down, and somehow that has caused a more permanent problem for my machine resolving the domain (but one that flushing DNS should have fixed with no problem). I tried un-installing and re-installing the VPN software and that did not fix it either.