resolving local host names

Adrian Stovall AdrianS at pfk.com
Sun Aug 20 18:27:26 UTC 2000


Try typing "ping pctech" and I bet it will work.  The hosts file doesn't
necessarily have anything to do with bind or DNS, it just provides a list of
alias names to your local machine for different IP's.  Nslookup is a
DNS-specific program, so if pctech isn't a name that your DNS server
resolves, nslookup won't be able to return info for it.  Ping should show
you the IP address that was specified in your /etc/hosts file.

>Hello,  I've got a caching only name server running on a box with RH 6.2.
>It correctly resolves external names.  I'd like it to resolve internal
names
>by checking the /etc/hosts file.  My /etc/nsswitch.conf file has hosts:
>files dns, yet when I run "nslookup pctech" is doesn't not resolve "pctech"
>although it is listed in the host file.  What am I missing?

"Murphy was an optomist"
          -O'Toole's commentary on Murpy's Law

Adrian Stovall
Senior Systems Engineer

PFK Business Systems, Inc.
(972) 621-0300
www.pfk.com




-- Binary/unsupported file stripped by Listar --
-- Type: application/ms-tnef




More information about the bind-users mailing list