Reply To: Slow DNS issues

Forums Service Issues Networking, Routing, Technology Slow DNS issues Reply To: Slow DNS issues

October 21, 2021 at 3:34 am

MacOS
Macs come with the networksetup command line tool that allows you to configure the network settings. It can also be used to change the nameservers by using it with the -setdnsservers flag. Open your terminal by going to the spotlight and typing “terminal” and run:

sudo networksetup -setdnsservers Wi-Fi 185.228.168.168
That will force the Wi-Fi to go through CleanBrowsing (185.228.168.168). If it works, you won’t get any warning or error in the terminal and you are all set. As a bonus point, you can run the chflags command to block anyone from changing the nameserver via the graphical user interface:

sudo chflags schg /Library/Preferences/SystemConfiguration/preferences.plist

This worked better. Seems to be the app that is causing issues