I'm getting closer - I can do a nslookup but I can't ping - huh?

Steven M. Klass sklass at andigilog.com
Thu Jul 13 00:34:44 UTC 2000


At 08:26 PM 7/12/00 -0400, you wrote:
>On Wed, Jul 12, 2000 at 05:04:53PM -0700, Steven M. Klass wrote:
> >       Ok, I finally getting somewhere.  Why can I do an nslookup of
> > anydomain.com and get the ip, but when I ping anydomain.com i get
> > zilch.  Now if I ping the IP of anydomain.com, I get something.  What's
> > goin on around here?  Any Ideas?
>
>I don't remember what type of system you are on, but some will allow
>you to adjust whether regular name lookups use /etc/hosts, DNS, NIS, or
>possibly some other techniques.
>
>Under Solaris or Linux, /etc/nsswitch.conf must contain something like
>         hosts:  files nisplus nis dns
>or just
>         hosts:  files dns
>if you aren't using NIS.
>
>Under Tru64 Unix, Digital Unix, or OSF/1, /etc/svc.conf must contain
>something like
>         hosts=local,bind
>I also find a file, /etc/svcorder, that contains
>
>         local
>         bind
>I find no documentation for this file.
>
>--
>Joe Yao                         jsdy at cospo.osis.gov - Joseph S. D. Yao
>COSPO/OSIS Computer Support                                     EMT-B
>-----------------------------------------------------------------------
>This message is not an official statement of COSPO policies.

My nsswitch.conf file looks ok

hosts:          files dns
networks:       files dns

Ok, here is a real stumper...

My clients can ping by name, using Linux box as a DNS resolver. But, the 
Linux box can't ping by name? Huh.

Example:
I can ping 204.71.200.243 (yahoo.com) with my linux box (DNS machine)
I can't ping yahoo.com with my linux box.
I can ping yahoo.com with an NT box using linux for DNS server.
I can ping 204.71.200.243 (yahoo.com) from NT using the Linux Box as a DNS 
server.

Ok, now what... I really am stumped.

Thanks so much

Steven




More information about the bind-users mailing list