JoSH Lehan wrote: > Use "host" (or other command) to do a DNS query and resolve the > hostname to an IP address. > Feed that IP address to wget. > Give the true hostname to wget as well, so that it can fill in the > correct "Host:" header when doing the HTTP query. > This lets you grab a URL without needing to install all the full NSS > infrastructure on your local filesystem. Why not just pass the hostname to wget? wget will resolve the hostname and use it in the HTTP header.
Regards Ralf Friedl _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox