Set MacOS Location based on WiFi name
Sometimes you want to have different network settings based on your location. For example in my scenario I need to have custom defined DNS for my home WiFi network, however in the office I’m fine with the default automatic settings. Unfortunately unlike Linux MacOS (OS X) doesn’t allow you to set custom per WiFi network settings, however you can overwrite DNS per Location. I use DNS ad blocking at home, but unfortunately my router doesn’t support setting custom DNS name network-wide, so I have to reconfigure it on per-device basis.