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

Jim Lopresto Jim_Lopresto at learningtree.com
Thu Jul 13 00:43:53 UTC 2000




Hi:

Have you checked the /etc/resolv.conf file on the Linux box to see where it is
pointing?

It should look something like the following:

search  andigilog.com
nameserver 209.179.179.18
nameserver 207.217.120.13

Jim





"Steven M. Klass" <sklass at andigilog.com> on 07/12/2000 05:34:44 PM

To:   Joseph S D Yao <jsdy at cospo.osis.gov>
cc:   bind-users at isc.org (bcc: Jim Lopresto/LearningTree/US)

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




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