wget problem

kanary

Verified User
Joined
Jun 8, 2007
Messages
79
Location
Holland - Het westland
Hello,

Since a few day i get the next error when i want to get a file to my server.

[root@server updatescript]# wget http://tools.web4host.net/update.script
--10:45:03-- http://tools.web4host.net/update.script
=> `update.script.1'
Resolving tools.web4host.net... failed: Name or service not known.


it only works when i used an ip instead of an hostname.

How can i enable the hostname function again ?
 
check your /etc/resolv.conf and see what you are using to resolve hostnames

I think there is something wrong with the DNS resolution on your server.

Server should resolve any hostname to IP by default.
 
Back
Top