Re: [exim] host_lookup ?

Top Pagina
Delete this message
Reply to this message
Auteur: Heiko Schlittermann
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] host_lookup ?
Benoît PELISSIER <bpelissier@???> (Mi 12 Nov 2014 11:23:20 CET):
> Hi all,
>
> I wanna change this Host field :
> <= root@??? H=truc.alpha.local (Truc.pouet.fr) [192.168.XXX.XXX]
>
> in :
> <= root@??? H=Truc.pouet.fr [192.168.XXX.XXX]
>
> How can i do this ?
>
> My exim4 do dnslookup first to resolve 192.168.XXX.XXX that why he
> find truc.alpha.local.


What does "dig -x 192.168.xxx.xxx" tell you?

Exim does a reverse lookup on the connecting IP. As far as I know Exim
uses the system libraries. Depending on your /etc/nsswitch.conf you may
be using mDNS (Multicast DNS). Mostly this is triggered with the .local TLD
and used for reverse lookup too.

Try to remove the mdns* entries from your /etc/nsswitch.conf, but think
about the impact it may have :) … you will not be able to resolve the
nice <host>.local names anymore.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-