3
A while ago I believe I added a local redirect for .dev
domains to localhost
. I can no longer visit any .dev
domains in any browser on my Mac machine. However now I want to remove this redirect, since .dev
is a real TLD.
But I can't figure out where the redirect logic is coming from.
My /etc/hosts
file has no mention of it:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 figmadaemon.com
And my /etc/resolv.conf
doesn't either:
nameserver 192.168.1.1
I've also tried clearing my DNS cache to no effect, with:
sudo killall -HUP mDNSResponder
Is there anywhere else it could be coming from?
What is
192.168.1.1
? And what is its configuration in a scope of being a nameserver? – Kamil Maciorowski – 2019-02-20T18:14:04.1071
Do you have an /etc/resolver/ directory? That's a common way to override regular DNS for an entire TLD (see here).
– Gordon Davisson – 2019-02-20T22:09:15.3831@GordonDavisson that was it! Thank you! If you add it as an answer I'd be happy to accept it. – Ian Storm Taylor – 2019-02-21T20:37:25.723