Re: [Exim] Exim does unwanted DNS lookups for LAN (SOLVED)

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Moritz Schulte
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Exim does unwanted DNS lookups for LAN (SOLVED)
On 27 Nov 2000, Moritz Schulte wrote:

> Here it did something else. In host_find_byname there was a
> check, wether HAVE_IPV6 is defined. If it is defined,
> gethostbyname2(host->name, af) is used, if it is not,
> gethostbyname(host->name) is used.


Aha. I keep forgetting that IPv6 is actually starting to get exercised
in the field...

> So, i guessed that gethostbyname2() failed, because it couldn't find a
> IPv6 address in /etc/hosts. I'm not familiar with IPv6, so I'm not
> sure, wether this is correct...after adding '::1 orion.sc orion'
> to my hosts, gethostbyname2() doesn't trigger a internet connection
> anymore. :-)


Yes, that sounds very likely.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.