Hacker News new | ask | show | jobs
by douglasfshearer 2456 days ago
I use two Max OS "Locations" (Apple Menu -> Location), one which uses the router default DNS (which is a Pi-Hole at home), and another which is set to use the Cloudflare DNS servers.

This allows me to to switch location, and instantly reload a page without the Pi-Hole interfering. Of course this only works on my Mac.

1 comments

Did you ever have issues with local DNS caching after switching location?

Did you ever have to run the following command to reset Apple's local DNS after switching?

    sudo dscacheutil -flushcache
    sudo killall -HUP mDNSResponder
As far as I know, Pi-Hole sets a relatively short TTL on its responses, but I think should still cause a non-zero delay when you disable it, shouldn't it?