[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] host_lookup ?
From:       Heiko Schlittermann <hs () schlittermann ! de>
Date:       2014-11-13 15:00:51
Message-ID: 20141113150051.GM16623 () jumper ! schlittermann ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Benoît PELISSIER <bpelissier@lan2net.fr> (Mi 12 Nov 2014 11:23:20 CET):
> Hi all,
> 
> I wanna change this Host field :
> <= root@pouet.fr H=truc.alpha.local (Truc.pouet.fr) [192.168.XXX.XXX]
> 
> in :
> <= root@pouet.fr 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)-

["signature.asc" (application/pgp-signature)]

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic