First, please cc me in replies. I'm not subscribed to the list.

$ ll /usr/bin/wget; wget -V
-rwxr-xr-x 1 root root 234408 Feb 12 13:56 /usr/bin/wget
GNU Wget 1.10.2 (Red Hat modified)

I've encountered a very strange problem after upgrading from FC3 to FC5.
wget fails to resolve any domain unless I force IPv4 (using the "-4"
switch). See output below.

All other commands, e.g. dig, nslookup, ping and host, function normally.
I did have a similar problem with curl but once I disabled IPv6 (echo
"alias net-pf-10 off" >> /etc/modprobe.conf) curl started working again.

Thanks in advance.



$ wget yahoo.com
--07:04:02--  http://yahoo.com/
           => `index.html'
Resolving yahoo.com... failed: No such file or directory.


$ wget -4 yahoo.com
--07:04:24--  http://yahoo.com/
           => `index.html'
Resolving yahoo.com... 216.109.112.135, 66.94.234.13
Connecting to yahoo.com|216.109.112.135|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.yahoo.com/ [following]
--07:04:24--  http://www.yahoo.com/
           => `index.html'
Resolving www.yahoo.com... 68.142.226.46, 68.142.226.40, 68.142.226.48, ...
Connecting to www.yahoo.com|68.142.226.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [      <=>                                                            
       ] 36,004        12.14K/s

07:04:28 (12.13 KB/s) - `index.html' saved [36004]




Reply via email to