El 15/10/11 04:27, Chris Stinemetz escribió:
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'
Is your system able to resolve dns?

Do these commands work?
host yahoo.com
dig yahoo.com

Does it help if you try to use just ipv4 addresses?

 wget -4 -L http://yahoo.com




Reply via email to