[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim, local resolver, host name lookups and IPv6



* Marc Haber <mh+debian-devel@zugschlus.de> [080412 10:42]:
> [...] Thankfully, gethostbyname2 is
> used in exim's source code only twice (with one of the occurrences
> being inside an if( primary_hostname == NULL ) which doesn't apply if
> primary_hostname is set in configuration, which is the case if exim is
> configured with the minimaldns option. So, the AAAA lookup must be
> triggered by the gethostbyname2 call in host.c line 1969, which I not
> yet have fully understood. Can some more experienced C programmer
> comment on this part of the code?

That simply seems to be exim's host_find_byname function to encapsulate
the different ways on different systems to do host lookups. So this
lookup can origin from almost everywhere. (this early one possible
cause might be resolving the name showing up in another config option).

Hochachtungsvoll,
	Bernhard R. Link


Reply to: