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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael J. Tubby B.Sc. G8TIC
Ημερομηνία:  
Προς: 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,



I take it from this that HAVE_IPV6 is a compile-time option...

I guess that this could catch a lot of people out - its one think to compile
in support for IPV6 but shouldn't we also have to "turn it on" in the
configuration file as well? for example a "use_ipv6" or similar...

I'm just imagining all of the Linux distributions (etc.) compiling Exim for
distribution with IPV6 in and then thousands of users seeing something
like this.


Mike