Re: [exim] Delays due to lookups of own hostname

Top Pagina
Delete this message
Reply to this message
Auteur: Stefan Hornburg
Datum:  
Aan: exim users
Onderwerp: Re: [exim] Delays due to lookups of own hostname
Peter Bowyer wrote:
> On 05/06/07, Stefan Hornburg <racke@???> wrote:
>> Hello,
>>
>> I'm using Exim4 on a couple of Debian servers, both Etch and Sarge. On
>> sending emails (at least locally) there is a delay caused by Exim trying
>> to resolve its own hostname by DNS.
>>
>> How can I get rid of these unnecessary DNS queries ?
>
> It's using your system resolver, which is correct behaviour - you
> should either fix the DNS resolver (preferred), or patch round it by
> preferring 'files' lookup in the resolver chain and defining the local
> host name/IP in /etc/hosts or your local equivalent. Your system will
> have a mechanism for this which may or may not be /etc/resolv.conf.
>


I figured so far, but any other program doesn't show these delays,
like ping or host are answering in very short time.

Also /etc/hosts is opened and read by the exim process.

Regards
    Racke



--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team