12 10 2011
Slow connections with cli tools on Debian squeeze
One of my debian servers was taking between 5-8 seconds just to resolve a domain name when using tools such as wget, curl or scp.
To fix this, simply add
to your /etc/resolv.conf file.
This is a known issue and it has to do with ipv6/ipv4 in some configurations. It is not in the current man pages for resolv.conf but the change has been made upstream, it will be included soon.