[TriLUG] override dhcp's dns

Jon Carnes jonc at nc.rr.com
Sat Jun 19 08:36:38 EDT 2004


On Sat, 2004-06-19 at 04:27, Michael Hrivnak wrote:
> I followed the list advice and setup a simple cacheing dns server.  I works 
> great for clinets, but not on the gateway itself (on which named is running).  
> RR has its own ideas about what DNS servers it should use.  How do I tell my 
> machine to ignore what dhcp says about DNS and use itself instead?
> 
> Thanks a ton,
> 
> Michael

In /etc/resolv.conf put
  nameserver 127.0.0.1

as the first entry.  That tells the machine to use itself first for DNS.

HTH - Jon Carnes




More information about the TriLUG mailing list