Re: [exim-dev] RES_DNSRCH resolver option when using manualr…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-dev
Aihe: Re: [exim-dev] RES_DNSRCH resolver option when using manualroute router
On 27/12/17 14:44, Todd Lubin wrote:
> When using a manualroute router specifying route_data with "byname", exim
> calls [gethostbyname]. However, it explicitly disables the RES_DNSRCH
> resolver option.
>
> For dnslookup routers, there is a search_parents option, but for
> manualroute routers it is permanently disabled.
>
> It seems to me that this should either:
>
>    1. Be configurable within a manualroute router
>    2. Default to whatever the system-wide default is (which is often
>    enabled)

>


This might be platform-dependent. The linux manpage for res_search here
says that gethostbyname(3) uses RES_DNSRCH - and we call gethostbyname()
for a manualroute / byname. So I'm unsure whether the dns_init() call
we also do has any effect.

What platform are you running on?
--
Cheers,
Jeremy