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?
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.
I guess on osx you can use the "/etc/hosts" file like any other unix.
It should work until your domain is known by your dns.