[SOLVED] wget resolving IP addresses to 1.0.0.0
hi all
I have an odd problem with wget - basically it fails to resolve hostnames correctly. For instance, using it to download the php source I might get this:
Resolving au.php.net... 1.0.0.0
.. but if I ping au.php.net, it works outputting
64 bytes from au.php.net (203.16.234.91): icmp_seq=1 ttl=58 time=52.3 ms
and if I try wget again, it now resolves the host correctly and the download proceeds without any problems.
Evidently the IP address obtained by ping is being cached. But how do I diagnose the problem with wget? I'm fairly new to linux, so any advice will be greatly appreciated!
cheers
Rob
Last edited by robagar; 01-22-2007 at 08:16 PM.
|