In iOS Wifi settings, each Wifi connection has a Search Domains section, usually blank.

What is this used for?


A Search Domain is simply a convenience that allows the system to convert host names to Fully Qualified Domain Names (FQDN). Anyplace you might use a FQDN, such as in the location bar of Safari or as an argument to ssh, you can use a simple host name. If the system can resolve that host name to an IP address (e.g. localhost -> then it will use that. If that doesn't work, then the system will try appending the search domain to the host name and try again. If you specified more than one search domain, it will try them each in order.

If you are typically connecting to other Mac's on your LAN, then setting the search domain to local will make it easier to use just the other computer's names everywhere. If you are in a corporate environment and all your servers are available at name.example.com, then setting a search domain of example.com will allow you to access them by just using name.

Those are the two most typical use cases. When using a public Wi-Fi network, you should leave the Search Domain blank/empty to avoid accidentally connecting to some computer you didn't mean to connect to.


Primarily, I set the search domain to ".local". Why? It makes activity on your local network (in your house or your office) the priority.

For instance, this fixed an issue in which iTunes and my iPhone and iPad were not syncing reliably over Wifi.


A search domain is a way to adjust the domain when looking up an address. As in, assist in defining the actual domain name, only having to use part of it in a local network.

For example, in some networks, the Search Domain '.local' may be used to append to what a user puts into their URL bar in their browser, like a user can just type 'intranet', but it knows to complete this to 'intranet.local'.

Some routers do something similar to help devices find each other on a local network.

In many cases, this is set by your network gear, similar to acquiring an IP address through DHCP.

  • Despite what Wikipedia says, a search domain does not restrict the domain when looking up an address. It expands the number of possibilities checked when you use an unqualified host name. – Old Pro May 6 '12 at 6:14
  • Updated my answer,if you read the rest, it explains what you did in yours. The only reason I said 'restrict' is because of the odd wording in the Apple support documents, not just copying something from wikipedia. I clarified my answer. – jmlumpkin May 7 '12 at 1:51

Same as in OS X when you look in the "Network" System Preference. LINK

  • and what about those people using iOS devices on Windows? – Stu Wilson May 7 '12 at 7:36
  • They will use Google and end up here, to find this link! – GEdgar May 7 '12 at 13:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .