[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Caching Nameserver
- From: Art Ross <aross skyenet net>
- To: redhat-install-list redhat com
- Subject: Re: Caching Nameserver
- Date: Tue, 27 Feb 2001 21:56:34 -0500
"CHAN Chow Chin, David" wrote:
> Cool. Thanks you guys. But actually, I was also trying to help Art. :P
> But thanks for the quick tutorials. :)
>
> -----Original Message-----
> From: Mark Knecht [mailto:mknecht controlnet com]
> Sent: Wednesday, 28 February, 2001 8:37 AM
> To: redhat-install-list redhat com
> Subject: RE: Caching Nameserver
>
> David,
> You might also try just
>
> nslookup
>
> This will take you into whatever name server you are using. You'll see
> the name & address of that DNS server. From there you can enter the ibm.com
> address, or any other address you want, for resolution.
>
> You can also try
>
> nslookup - IP_ADDRESS
>
> where the IP_ADDRESS is that of any DNS server you have access to, and
> you'll see that you're in that server getting your answers.
>
> In Karl's answer below I think he was sitting on the name server and
> accessing it through the loopback interface.
>
> Mark
>
> -----Original Message-----
> From: karlp ourldsfamily com [mailto:karlp ourldsfamily com]
> Sent: Tuesday, February 27, 2001 11:00 AM
> To: Redhat Install
> Subject: Re: Caching Nameserver
>
> DNS (nslookup) returns the non-authoritative response when the name is
> cached locally because you've accessed it from your DNS server before. To
> verifty that, type
>
> nslookup www.ibm.com
>
> the output should look like:
>
> Server: localhost
> Address: 127.0.0.1
>
> Name: www.ibm.com
> Addresses: 129.42.16.99, 129.42.17.99, 129.42.18.99, 129.42.19.99
>
> Now do it again:
>
> nslookup www.ibm.com
>
> and now the response should look like:
>
> Server: localhost
> Address: 127.0.0.1
>
> Non-authoritative answer:
> Name: www.ibm.com
> Addresses: 129.42.18.99, 129.42.19.99, 129.42.16.99, 129.42.17.99
>
> That's because now the dns info is cached in memory and so the system is
> letting you know that it didn't go anywhere to find the info. The next
> time you log out and back in, you'll go through the same thing. Caching is
> only done during the current session and is stored in memory only. There
> isn't even a /proc entry for DNS lookup caching. So, don't ask if you can
> see it somewhere in a file. It isn't on disk in any form.
>
> Just a little tutorial for the interested.
>
> Karl L. Pearson
> Senior Consulting Systems Analyst
> Senior Consulting Database Analyst
> karlp ourldsfamily com
>
> On Mon, 26 Feb 2001, Art Ross wrote:
>
> Chan Chow Chin, David
> I implemented what you suggested and it appears that I might have a
> working caching nameserver for my local home network. I'm a bit confused
> about my output from an 'nslookup einstein.linuxindayton.com'. This is one
> of the machines on my home network and has an IP of 192.168.1.3. In fact
> this is the nameserver. I've included my name.conf and the output from the
> nslookup command.
> Any help you can provide will be greatly appreciated. This DNS stuff is
> very interesting. Unfortunately, my experience is about two hours so far
> and hasn't proven to be adequate. The named.conf attachment is obvious.
> The output file is the output from the nslookup command.
> My big question is the following; "Is the DNS really working?" If so,
> why is my machine being assigned the IP for the DNS of my ISP?
> Thank you for any assistance you can provide.
> Art
>
> "CHAN Chow Chin, David" wrote:
>
> > well, I think you're missing your forwarders in your named.conf file.
> > Inside named.conf, under the "options" section, insert:-
> >
> > forward first;
> > forwarders {
> > ip.of.dns.1;
> > ip.of.dns.2;
> > };
> >
> > eg:
> > forward first;
> > forwarders{
> > 161.142.2.17;
> > };
> >
> > hope it helps. :),
> > CHAN Chow Chin, David
> >
> > P.S. Oh! dont' forget to restart named.
> >
> > -----Original Message-----
> > From: Art Ross [mailto:aross skyenet net]
> > Sent: Monday, 26 February, 2001 12:43 PM
> > To: redhat-install-list redhat com
> > Subject: Caching Nameserver
> >
> > I'm trying to get a caching nameserver setup and operating on my home
> > network. I have downloaded an installed the rpm's from Redhat. These
> > included 'bind' and 'caching-nameserver'. Using linuxconf, I've added a
> > zone for my home network. When I test it using 'nslookup', it tells me
> > that it cannot find host/domain for the nameserver's ip.
> > Also, when I try an nslookup on any of my machines on the home
> > network, I cannot find them. What have I missed? Will a caching
> > nameserver eliminate the need for me to keep all the hosts files on
> > every machine current?
> > Any help is appreciated.
> > Art
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
All of you have given me some very good hints. I don't have time this evening
to work on this problem but will get the requested files and information
tomorrow. By then, I'll have read the DNS Howto and hopefully picked up some
additional tips.
It sounds like I'm close and didn't even know it. Look for a post tomorrow
evening.
Thanks again,
Art
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]