Gate News wrote:

> Actually, I thought if the nameserver was on the local machine, you
> have to set resolv.conf to 127.0.0.1
>
>     Bryan
>

You can do it , but then it would only work for this particular machine. When
you want to do it for the whole network, then you use the number known to the
outside world. In below situation we have 206.31.97.147 as a  primary
nameserver in /etc/resolv.conf, and since nslookup always check servers in the
order they are listed in /etc/resolv.conf that was the IP number it was looking
for. Just run a simple test: make sure that in your /etc/resolv.conf file your
box number is not listed as a nameserver and start 'nslookup'. You'll see that
starting that, server listed first in your /etc/resolv.conf file will come up
as a 'Default Server'. Now add as a first nameserver  127.0.0.1 and start your
'nslookup' again. This time you'll see:Default Server: localhost
Address: 127.0.0.1

Mike

> -----Original Message-----
> From: Miroslaw Wodniak <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Tuesday, March 10, 1998 12:10 AM
> Subject: Re: Linux/ethernet
>
> >
> >
> >Rick wrote:
> >
> >>  Hello everyone! I am having some problems connecting my linux box
> to a
> >> cable modem. Maybe one of you can lend a hand. = ]
> >>
> >>  I have my own domain. I have been hosting it on my box, with a 56k
> >> dialup account. I now have a cable box from my local cable company,
> and
> >> a static ip. The administrator has added my domain to his servers,
> and
> >> my domain has been modified at internic. I want my box to be the
> "name
> >> server". I have configured the box to be a caching only nameserver.
> Will
> >> this work?? Or do I need to go about it another route?
> >
> >You need to set up caching-nameserver package and run regular DNS on
> your
> >machine.
> >It looks like you declare 206.31.97.147 as your primary nameserver in
> >/etc/resolv.conf and it just can't be find
> >Mike
> >
> >
> >--
> >  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
> ARCHIVES!
> >http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips
> /mailing-lists
> >         To unsubscribe: mail [EMAIL PROTECTED] with
> >                       "unsubscribe" as the Subject.
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with
>                        "unsubscribe" as the Subject.




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to