cURL / Mailing Lists / curl-users / Single Mail

curl-users

Trying to connect to 1.0.0.0

From: Michael Morris <michael_at_actionagendas.com>
Date: Tue, 20 Sep 2005 17:27:50 -0600

For some reason curl is trying to connect to 1.0.0.0 for any entered
domain name

$ curl -v www.google.com
* About to connect() to www.google.com port 80
* Trying 1.0.0.0... ^C

$ curl -v www.apple.com
* About to connect() to www.apple.com port 80
* Trying 1.0.0.0... ^C

$ curl -v www.yahoo.com
* About to connect() to www.yahoo.com port 80
* Trying 1.0.0.0... ^C

...etc.

It will only properly resolve the ip address after digging the site
or specifying it in /etc/hosts.
All other system utilities correctly resolve domain names, which lead
me to believe it might be a curl specific problem, though perhaps
not. Any hints or suggestions would be appreciated.

Regards,
Michael Morris

Version information is as follows:
$ curl -V
curl 7.14.1 (i386-unknown-openbsd3.7) libcurl/7.14.1 OpenSSL/0.9.7d
zlib/1.2.2
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 Largefile NTLM SSL libz
Received on 2005-09-21