Weird WiFi and DNS issue

I use my Mac at work on the WiFI network and I started having this weird thing start a few months back. It started when I was trying to get on the WiFi at Starbucks one day and the captive portal would not come up. I spent 20 plus minutes trying to get connected. I would get the base connection but it would not authenticate. I looked at details of the WiFi connections and when I got to DNS it was showing the DNS servers from my work, not the Google DNS servers that they use. As soon as I deleted the work ones the Google servers popped in there and the captive portal came right up.


The problem is that even though I have moved my works WiFi network way down the list it aways ends up on top and the DNS servers are back in there no matter what network I am on.


Any ideas would help.


rMBP MacOS 10.13.6 (No Plan to Upgrade to 10.14 as I lose social media integration)

MacBook Pro with Retina display, macOS High Sierra (10.13.4)

Posted on Oct 30, 2018 2:39 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 30, 2018 6:26 PM

You should set up a Network Location File for each different Wi-Fi Network you use.


For the one for Starbux, exclude the work network entirely.


How to use network locations on your Mac - Apple Support

.

Similar questions

5 replies

Oct 31, 2018 5:18 AM in response to erikbock

The "trick" is that you create MULTIPLE Network Locations. Once you get the settings correct, You don't have to remember what to change (and change back). It's a cinch to change to a new (pre-set-up) location:


System Preferences > Network


just choose Its name is in the box at the top, labeled "Location", and ALL the settings are applied at once:

User uploaded file


User uploaded file


.

Oct 31, 2018 5:21 AM in response to erikbock

why is it that the network configuration setting for work are sticking to the interface

This happens because you entered them manually for some reason. Sometimes the reason is that the Router did not supply them, or the Router supplied ones that are annoying to use.


If you clear them out in every case, it should let the Router supply them. If you use Network Location Files, you can do it either way for each Location, and have that setting saved and applied all-at-once.

Oct 31, 2018 5:01 AM in response to Grant Bennet-Alder

My understanding this would require me to manually go in and change the network location for wherever I am at. This doesn't make the user experience very good and doesn't save me much in the way steps and time from what I already have to do.


I'm trying to figure out mainly why is it that the network configuration setting for work are sticking to the interface even though work uses DHCP? The IP address doesn't stick but the DNS servers do.

Oct 31, 2018 8:29 AM in response to Grant Bennet-Alder

I can guarantee they are not manually entered and the DHCP isn't on the router. We use dedicated DHC servers and configs on the switches for ip-helper to forward the request to the servers. What I will give you is the "annoying" I plugged in wired this morning vs WiFi and I noticed on WiFi there are 2 DNS servers listed that are not on wired. What makes this even stranger is that they are not on our standard 10.x.x.x address space. I may have the networking team look into this little thing.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Weird WiFi and DNS issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.