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

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



* Mike Hommey <mh@glandium.org> [080411 16:51]:
> The main question to be able to answer your question correctly is:
> what does it need these information for ?
> The alternate question being: Does it really need this information from
> DNS ?
>
> Host name can be returned by gethostname(2), for example, and you can
> add the result from getdomainname(2) for an FQDN.

Which seems to not even be used by "hostname -f", which (according to
ltrace) calls gethostbyname on the output of gethostname instead.

And the "CONFORMING TO" part getdomainname(2) does not look very
promissing, too.

Hochachtungsvoll,
	Bernhard R. Link


Reply to: