[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343140: libc6: resolver always checks search list in /etc/resolv.conf



Stephen Gran wrote:
At Thu, 15 Dec 2005 17:13:25 -0800, Edward Buck wrote:

I guess the problem then is in the ipv6 support and how it implements
domains in the search path.  Instead of doing ipv6, then ipv4 for
mx1.hotmail.com, it runs through all possible ipv6 queries, including
exhausting all domains in the search path, before ipv4 queries are
attempted.  That seems (is) really inefficient.  As a result of ipv6
supports, DNS queries have tripled on systems with two domains in their
search path.

Okay, perhaps this isn't a bug.  It's just ipv6 hell.

I guess the answer to this problem for you is to just disable ipv6
(unless you need it) - blacklisting the kernel module(s) ought to do it,
although there may be some other parts I am unaware of.

I did try commenting out:

#alias net-pf-10 ipv6

in /etc/modprobe.d/aliases. Unfortunately, that doesn't keep the resolver from doing ipv6 queries. The behavior is the same regardless of whether the ipv6 kernel module is loaded (rebooted after the change and lsmod shows no ipv6 module).

Is there another way to disable ipv6 queries by the resolver? I'm probably missing something simple but couldn't find anything in the docs.

Thanks.
Regards,
Ed


HTH, and take care,



Reply to: