1830335 Members
2127 Online
110001 Solutions
New Discussion

DNS and TTL

 
SOLVED
Go to solution
Hiroyuki_1
Advisor

DNS and TTL

Hello .

I'm still new to hp-ux . Current concern is below .

Changed clients from Win2000 to XP (I know many similar questions on net) .
While troubleshooting , I'm aware cache of BIND 9.2 has gone soon because a lot of Web site's TTL is set around 10 minutes . I'm wondering such short TTL causes lots root name server accesses and we have to wait for a while until resolving when accessing outer hosts .

Could anybody tell me about the solution ?

Thank you .
?
4 REPLIES 4
Sundar_7
Honored Contributor
Solution

Re: DNS and TTL

I dont believe you can anyway control the TTL of the remote server's DNS entries.

You can control the TTL for the entries in your DNS server. By default it is 1 day.

I know some of the websites do it so to load balance the client connections. If you connect once to IP1, the next time you connect to the webserver, it will return the IP2 and so on in a round robin fashion.

Its even better with some of the load balancing routers with builtin DNS.
Learn What to do ,How to do and more importantly When to do ?
Cesare Salvioni
Trusted Contributor

Re: DNS and TTL

Hi
Sundar is right, ou cannot control the TTL of remote DNS server but, if you have this problem it means you are accessing same server many times, so why don't you install a proxy server inside your network? this will cause the frequently accessed pages to be cached locally, avoiding the need to load them from outside.

There is a very nice proxy free and working on HPUX too, squid

see the links:
http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/squid-2.5.STABLE2/
and
http://www.squid-cache.org/

hope it helps
Hiroyuki_1
Advisor

Re: DNS and TTL


Thank you Sundar , Cesare .

I knew load balancing method and special router for it .

Proxy server sounds nice . At squid-cache.org they seems to say we need another small machine for it . But I heared a custommer who use WEB , DNS , file , proxy in just one linux box . I'd like to check the way .

And I'm going to ask Microsoft why W2000 resolves URL and XP doesn't . I bet it .

Thanks again .
?
Hiroyuki_1
Advisor

Re: DNS and TTL

Hello .

Migrosoft didn't answer useful solution .

An RC engineer suggested me to use forwarders option in named.conf . Works well .

Thank you .
?