D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] /etc/hosts

 

Robin Cornelius wrote:
> 
> I need the host "intranet" to resolve to 10.0.0.1 much like localhost
> resolves to 127.0.0.1. Added entry to /etc/hosts checked order in
> /etc/host.conf (its hosts,bind)
> 
> But it does not resolve using dig,nslookup or host i just get domain not
> found. What have i missed?

Did you try "ping intranet" ?

/etc/nsswitch.conf ?

dig is a DNS tool so it doesn't check /etc/hosts.

No one cares what nslookup does.
And I know zilch about "host".


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html