After upgrading to debian/unstable last weekend, I was a bit perplexed by
many, but not all, applications taking ages (seconds...) to resolve from DNS.
It's... something... to do with ipv6, which debian now apparently
semi-configures out-of-box - but if you're relatively clueless about ipv6
like me, I guess things start off pear-shaped and get worse.
I _think_ what was happening was that the libc resolver was dutifully trying
for AAAA records first from the DNS, and it was taking seconds for time out
failing to find them (and I guess there wouldn't have been an ipv6 route to
them even if the DNS returned them - which it happily does when they exist,
like for 6bone.net), and only then were the A records used. Or something.
Anyway, fastest bodge-around was to kill ipv6 usage completely on
my system by putting:
alias net-pf-10 off
in /etc/modprobe.conf as outlined here:
http://linuxquestions.org/questions/history/158991
But I suppose learning how to set up an ipv6 tunnel would be better...
David Golden
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!