MacMost Q&A Forum • View All Forum QuestionsAsk a Question

Change DNS Server Automatically When Changing Network

I use the application “name bench” to search for the fastest DNS server available. That works great. When I am at home the fastest is google (, but when I goto my work another DNS is faster.
Is there a way (application, Applescript, etc) which changes my DNS automatiCally when I connect to another network?
Rob Kraanen

Comments: One Response to “Change DNS Server Automatically When Changing Network”

    7 years ago

    There’s no way I know of to have your DNS change with your network — at least not if you assign your own DNS.
    But you can use Network Locations to have different DNS settings and then easily switch between them. See

Comments Closed.