Mac OS X 10.6: Editing DNS and search domain settings

This article has been archived and is no longer updated by Apple.
Editing DNS and search domain settings

You can use Domain Name System (DNS) servers and search domains to avoid typing the complete address of Internet domains you use frequently.

DNS is the way Internet domain names are located and translated into Internet Protocol (IP) addresses.

The search domains you enter in your Network preferences are automatically appended to names you type in Internet applications.

For example, if you specify the search domain, typing “store” in your web browser takes you to Or, if you use as a search domain, you can type “server1” in the Finder’s Connect To Server dialog to connect to

To enter a DNS server address and search domains:

  1. Choose Apple menu > System Preferences, and then click Network.

  2. Select the network connection service you want to use (such as AirPort or Ethernet, unless you named it something else) from the list, and then click Advanced.

  3. Click DNS, and then click Add (+) at the bottom of the DNS Servers list. Enter the IPv4 or IPv6 address for the DNS server.

    Click Add (+) at the bottom of the Search Domain list and enter the search domain, for example.

  4. When you’re finished, click OK.

Domains are searched in the order you list them, and the search stops when a valid name is found.

To search a name hierarchy, use search domains of varying scope. For example:,,

Published Date: Aug 6, 2013