Thank you in advance.

I can only get wget to work when I specify the domains actual ip
address. When I use the doman name it doesn't work.

Does anyone know of a solution?

My two examples:

wget works:

prompt$ wget -L http://67.195.160.76
--2011-10-14 21:22:57--  http://67.195.160.76/
Connecting to 67.195.160.76:80... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from yahoo.com attempted to set domain to yahoo.com
Cookie coming from yahoo.com attempted to set domain to yahoo.com
Cookie coming from yahoo.com attempted to set domain to yahoo.com
Length: unspecified [text/html]
Saving to: `index.html'

    [     <=>
             ] 171,237      192K/s   in 0.9s

2011-10-14 21:22:58 (192 KB/s) - `index.html' saved [171237]


wget doesn't work:

prompt$ wget -L http://yahoo.com
--2011-10-14 21:24:20--  http://yahoo.com/
Resolving yahoo.com... failed: node name or service name not known.
wget: unable to resolve host address `yahoo.com'


Some system information:


prompt$ wget --version
GNU Wget 1.12 built on solaris2.10.

+digest +ipv6 -nls +ntlm +opie +md5/solaris +https -gnutls +openssl
-iri

Wgetrc:
    /etc/wgetrc (system)
Compile: /ws/on10-tools/SUNWspro/SOS8/bin/cc -DHAVE_CONFIG_H
    -DSYSTEM_WGETRC="/etc/wgetrc" -DLOCALEDIR="/usr/sfw/share/locale"
    -I. -I../lib -I/usr/sfw/include -xO3 -xarch=v8 -xspace -W0,-Lt
    -W2,-Rcond_elim -Xa -xildoff -xc99
Link: /ws/on10-tools/SUNWspro/SOS8/bin/cc -xO3 -xarch=v8 -xspace -W0,-Lt
    -W2,-Rcond_elim -Xa -xildoff -xc99 /usr/sfw/lib/libssl.so
    /usr/sfw/lib/libcrypto.so -R/usr/sfw/lib -lmd5 -ldl -lsocket -lnsl
    -lrt ftp-opie.o openssl.o http-ntlm.o gen-md5.o ../lib/libgnu.a

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <[email protected]>.
Currently maintained by Micah Cowan <[email protected]>.
Please send bug reports and questions to <[email protected]>.


Thanks

Reply via email to