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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Todd Lubin
Date:  
À: Exim-dev
Sujet: Re: [exim-dev] RES_DNSRCH resolver option when using manualroute router
​Sorry for ​the slow response. I am not on exim-dev and didn't see your
reply.

This is running on CentOS 7.4. I'm not sure if this is platform-dependent,
but at least on this system the call to dns_init alters the behavior of
gethostbyname.


On 2017-12-27 20:03, Jeremy Harris wrote:
> 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:
> >
> >
>
> 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
>
>
>