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:50:47 UTC 2000




You need "nameserver" because you need to tell your Linux box which nameservers
to use for DNS lookups.

Instead of having localhost, remove that, and add:

nameserver (and the IP address of your Linux box)

This should fix the problem.

Jim






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

To:   Jim Lopresto/LearningTree/US at LearningTree, "Steven M. Klass"
      <sklass at andigilog.com>
cc:   bind-users at isc.org

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



Here is my resolve.conf

search andigilog.com
localhost 127.0.0.1

Reminder I am running bind on this machine.  Why would I have nameserver
listed?

Thanks
Steven


At 05:43 PM 7/12/00 -0700, Jim Lopresto wrote:



>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

Steven M. Klass
Physical Design Engineering Manager

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 602-940-6200 ext. 18
Fax: 602-940-4255

sklass at andigilog.com
http://www.andigilog.com/









More information about the bind-users mailing list