In article <38Osd.54950$(E-Mail Removed)> , Al. C wrote:
>Thanks for the tips. I'll have to "dig around" with dig. But this much I can
>tell you. I set up the name-only caching BIND server and I see a HUGE
>difference on many (most) of the web sites I visit. Obviously, the first time
>is slow, but subsequent hits are sometimes twice as fast (or seem so) as they
>were before.
Like I say - look at the TTLs reported by the DNS query tools. Also look
at the reported response times from each name server using 'dig'. This
could also be a network congestion problem - /sbin/ifconfig might give
clues about that, as might tcpdump.
>For example, our own web page www.adams-blake.com is pretty obscure and
>does not get many hits (as opposed to our www.jaya123.com page).
You might want to talk to the hosting company, and perhaps whoever is
running your DNS for those sites. Both have the TTL set at 3600 (seconds)
or one hour. After that time, ANY name server should drop the cached
info. Now, when I looked, only one of the two authoritative name server
addresses were cached, and the TTL when I looked at that was 19645
seconds or about 5.5 hours (no idea what it might have started at, but
24 hours or even a week would not be unreasonable for a name server).
OK, just queried the other name servers address, and it has a TTL of
2 days for it's _own_ address. Both of yours are still at 3600 seconds.
>Since I keep this machine up 24/7 this is a good deal for me because the
>local cache will not be purged.
You want to re-read the DNS-HOWTO relating to cache times. If the
authoritative site for domain X says the TTL is 3600 seconds, that data
is gone in one hour, no matter if your system is up 8/5 or 24/7.
>All I can say is that if you are in N. Calif. and are seeing latency in
>page resolution, try setting up this caching server thing and see if it
>helps.
Usually, the ones that are helped the most by the caching name server are
those running windoze, because that O/S has diarrhea of the network, and
is CONSTANTLY badgering the name servers trying to find new hosts to share
with. Linux (or indeed virtually all Unix) don't have this problem. Because
I don't run windoze, and my ISPs seem to be reasonable, I haven't seen any
real difference in running a caching name server or not. But then again,
I'm not with SBC either.
Old guy