Re: DNS - TTL problem with Solaris 9
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 12/22/03
- Next message: Marcin: "Re: Solaris & Windows"
- Previous message: Julian Thomas: "Sun Ray with pppd"
- In reply to: Abhinav Anand: "Re: DNS - TTL problem with Solaris 9"
- Next in thread: Greg Andrews: "Re: DNS - TTL problem with Solaris 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 22 Dec 2003 21:49:34 GMT
In article <7929f375.0312212045.39973a1b@posting.google.com>,
abhi88@yahoo.com (Abhinav Anand) wrote:
> This would enable the disable the caching, but my problem is that I
> want my application to respect the TTL value returned in the DNS
> response. i.e. Launch a query again on expiry of the TTL. Is there a
> way I can get the TTL value at the application level or better still
> configure Solaris to launch a query on TTL expiry ..?
The gethostbyXXX*() API in Unix doesn't return TTL information; an
application can't "respect" information it can't see.
So your best bet is to disable local caching, and depend on the caching
in your DNS server (which should respect the TTL values).
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA
- Next message: Marcin: "Re: Solaris & Windows"
- Previous message: Julian Thomas: "Sun Ray with pppd"
- In reply to: Abhinav Anand: "Re: DNS - TTL problem with Solaris 9"
- Next in thread: Greg Andrews: "Re: DNS - TTL problem with Solaris 9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|