Stupid little script to turn 3rd party DNS on or off.
On some networks (including my phone’s hotspot) the default discovered DNS server doesn’t work.
On other networks (like some of my office wifi) CloudFlare (188.8.131.52) DNS doesn’t work.
I have no idea why and don’t care enough to figure it out.
Changing this on mac is a pain in the ass which requires you going to network settings and clicking around every time.
This little script will toggle a 3rd party DNS provider of your choosing.
Just run it.
Edit it if you want to the change the DNS server