On 03/07/14 16:39, Jeremy C. Reed wrote: > On Thu, 3 Jul 2014, brian wrote: > >> I'm new to bind. I want to be able to test the dns server on my local >> machine before launching it by putting the domain names (ie example.com) in >> my browser and browsing the site. >> >> >> Both the dev and production machines are CentOS. I assume I'll need to edit >> the host file to redirect to the local dns. But with this method I'm not >> sure how it will resolve multiple domains (i.e. example.com and >> example2.com). > > The host file (/etc/hosts I assume) won't help. You can use > /etc/resolv.conf and have nameserver line point to your localhost for > testing. > > Or use dig with the @ argument to set the address of the nameserver to > use. For example, "dig @127.0.0.1 www.example.com". Then also try that > from outside systems to using the @ with the network interface's > address. And note that the name server will not be publicly used until it is published through the whole DNS chain. That means there is no reason you could not put everything in place even public facing servers - nobody will use them until referenced properly.
> _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users > -- Best regards Sten Carlsen No improvements come from shouting: "MALE BOVINE MANURE!!!" _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users