Re: [EXIM] Possible bug in hosts_lookup_nets ?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: David Shaw
CC: Exim users mailing list
Subject: Re: [EXIM] Possible bug in hosts_lookup_nets ?
On Wed, 5 Aug 1998, David Shaw wrote:

> It may be overly complex but why not use the Time-To-Live value associated
> with the address in the DNS? After the TTL expires, an address is not
> guaranteed to be valid anyway, so that would be a good time to reload.


Unfortunately, Exim uses gethostbyname() to look up these addresses, in
order to include other sources of name-to-address data. So it doesn't
get any TTL data.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***