Server Fault is a question and answer site for system and network administrators. 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've recently registered a domain and configured all the nameservers. However it takes some time for the dns to propagate. Is there a way temporarily prime the dns resolution on osx with the correct IP address for the domain until the primary dns network is updated?

share|improve this question
up vote 3 down vote accepted

I guess on osx you can use the "/etc/hosts" file like any other unix.     localhost
<ip address>  <your new domain>

It should work until your domain is known by your dns.

share|improve this answer

DNS records don't propagate. If you've set up the name servers and set up the DNS records then it should work immediately. The only issue is if your name servers can't be located or resolved.

share|improve this answer
For a more thorough discussion also see joeqwerty's answer here. – Zoredache Nov 13 '10 at 0:49
Thanks for the props, Zoredache. – joeqwerty Nov 13 '10 at 1:41

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.