Stupid little script to turn 3rd party DNS on or off.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
switch_dns

README.md

osx-dns-quickswitch

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 (1.1.1.1) 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.

Usage:

Just run it. Edit it if you want to the change the DNS server