Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use network setup to modify my search domains which works fine so far, but it only does it per device. Once I VPN somewhere, it no longer uses those changes. Is there a way to set the search domains globally (ie. for every device: Ethernet, Wi-Fi, and VPN) on Mac OS X Lion?

share|improve this question

migrated from Oct 16 '12 at 14:10

This question came from our site for system and network administrators.

Can you add your resolv.conf into the question? – DogEatDog Oct 17 '12 at 4:26

enter image description hereThere was a similar issue in 2002 with OS X. I found a few articles about it and I've been able to address this issue by simply adding "local" to the Search Domains in the advanced network properties of my network interface. This has allowed those of connecting via VPN to resolve .local hosts.

share|improve this answer
worx on yosemite – Hertzel Guinness Nov 11 '14 at 8:32

Why not just add it to the adapter in question? i.e. ethernet or Wi-Fi: can be overwritten by something else/update and you will forget it. The url above is the "supported" way to add the domain search path to the DNS query.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.