Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 3 down vote accepted

I guess on osx you can use the "/etc/hosts" file like any other unix.

127.0.0.1     localhost
8.8.8.8       google-public-dns-a.google.com
<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
1  
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

 
discard

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.