Re: [exim] DNS problems with sending via multiple smarthosts

Top Page

Reply to this message
Author: Ian Zimmerman
To: exim-users
Subject: Re: [exim] DNS problems with sending via multiple smarthosts
On 2019-07-16 15:03, David Purton wrote:

>     2019-07-16 14:23:14 Start queue run: pid=12322 -qf
>     2019-07-16 14:23:14 1hnFQ2-000379-9I no IP address found for host
>     2019-07-16 14:23:14 1hnFQ2-000379-9I == example@??? R=smarthost defer (-1): lookup failed for all hosts in smarthost router: host_find_failed=ignore host_all_ignored=defer
>     2019-07-16 14:23:14 End queue run: pid=12322 -qf

> But I can look up the domain normally on my machine:
>     $ nslookup
>     Server:
>     Address:

>     Non-authoritative answer:
>    canonical name =
>     Name:
>     Address:
>     Name:
>     Address: 2404:6800:4003:c02::6d

nslookup does DNS protocol directly, while exim uses the system resolver
library. This is some kind of a clue.

Since the machine is a laptop with intermittent connectivity, how is
/etc/resolv.conf managed? Does it always point to, or is there
some hook in the scripts that bring wifi on/off line which can change
the nameserver setting? If yes does that hook work reliably, and
quickly enough for the resolver to pick up the change when exim flushes
the queue?

And since the machine is a laptop, you probably run systemd right? Is
systemd-resolvd active? (Although I can't imagine how exim might end up
talking to it.)

Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for