/etc/hosts not working when connected to WIFI MacOS

54 Views Asked by At

Any changes to the /etc/hosts is ineffective when connected to WIFI, When I disconnect it starts taking effect.

I have tried sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder already

1

There are 1 best solutions below

0
moh.s On BEST ANSWER

It seemed to be from VPN software I had installed, uninstalled it and reconnected the WIFI and it seems fine.