Szerző: Richard Lithvall Dátum: Címzett: exim-users Tárgy: Re: [Exim] IP address lookups - opinions wanted
Philip Hazel wrote: > Instead of just calling gethostbyaddr(), Exim first does a direct DNS
> lookup. If it finds any PTR records, the first is used as the host
> name, and the rest are treated as aliases.
>
> If the DNS lookup yields no data, Exim tries gethostbyaddr() as
> before, in order to search /etc/hosts (if /etc/nsswitch.conf is
> appropriately configured).
In this case you don't honour the order of hosts lookup in
/etc/nsswitch.conf.
(Maybe someone want's to override the DNS-data by adding an /etc/hosts
entry)