Re: [EXIM] Possible bug in hosts_lookup_nets ?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: David Shaw
Datum:  
To: Exim users mailing list
Betreff: Re: [EXIM] Possible bug in hosts_lookup_nets ?
On Wed, Aug 05, 1998 at 10:34:00AM +0100, Philip Hazel wrote:
> On Wed, 5 Aug 1998, Paul Mansfield wrote:
>
> > >          When the daemon starts up, it does a forward lookup on the name 
> > >          and saves the IP address. When a connection happens, it 
> > >          compares the IP address.

> >
> > this is quite interesting. so if the IP address of a.complete.host.name
> > changes, then Exim won't notice. This could be a feature, or a bug?
>
> Indeed. It is a feature or a bug.
>
> > should Exim reload these addresses occasionally?
>
> How often is occasionally? I don't myself think this is a major issue,
> but others may wish to argue otherwise.


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.

David

-- 
    David Shaw  |  dshaw@???  |  WWW http://www.cs.jhu.edu/~dshaw/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson


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