LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Richard Sharpe <sharpe@ns.aus.com>
  To  : Don Collins <doncol@mail.mdt.net.au>, lloy0076 <doncol@mail.mdt.net.au>
  Date: Sun, 16 Apr 2000 21:47:53 +0900

Re: BIND

At 10:21 PM 4/16/00 +0930, Don Collins wrote:
>I think you are supposed to replace 0.0.0.0 with 127.0.0.1 for it to do local
>nameserver caching correctly.

The address 0.0.0.0 sometimes means 'this computer'. I checked it out, and
0.0.0.0 works fine in resolv.conf. nslookup queries the name server on the
same machine when you have 0.0.0.0 specified as the only nameserver in
resolv.conf.

>lloy0076 wrote:
>
>> Here's an interesting question that I can't quite work out the answer
>> too. I have manged to setup BIND 8.2.[a number] on my system. It works
>> perfectly and finds name for me on the Internet without haivng to fall
>> back on another name server (i.e. in /etc/resolv.conf, nameserver
>> 0.0.0.0 is sufficient).
>>
>> The question is the following:
>>
>> i have the setup of /etc/resolv.conf of
>>
>> nameserver 0.0.0.0
>> #nameserver 203.20.69.66
>>
>> it works
>>
>> If I uncomment the hash, will my LOCAL nameserver cache a reply from
>> 203. That is to say, obviously when I start up my PPP connection, my
>> local nameserver has little to no cache (I think). Hence when I first
>> start up name service is slightly but not really that noticeably slower
>> until I resolve the names I usually go to. It's particularly noticeable
>> when there are a lot of banner ad links because my name server has to go
>> find a query for the whole lot of them/
>>
>> i.e. will my nameserver cache ANY valid reply OR will my nameserver only
>> cache replies IT has gotten itself....
>>
>> DAVID
>> --
>> The Linux C Mailing Lists Have Moved
>>   mailto:linuxCprogramming-request@i-docs.net?subject=subscribe
>> The Linux C++ Mailing Lists Have Moved
>>   mailto:tuxCPProgramming-request@i-docs.net?subject=subscribe
>>
>> --
>> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
>> To unsubscribe from the LinuxSA list:
>>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
>--
>
>Don Collins - mailto:doncol@mail.mdt.net.au
>http://www.mdt.net.au/~doncol
>
>
>-- 
>LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
>To unsubscribe from the LinuxSA list:
>  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
>

Regards
-------
Richard Sharpe, sharpe@ns.aus.com, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course
Author: First Australian 2-day, intensive, hands-on Samba course

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page