Re: Suppressing DNS lookups when using wget, forcing specific IP address

2007-06-19 Thread Kelly Jones
This looked promising, but I couldn't quite get it to work even w/o --mirror: wget --header=Host: www.yahoo.com http://216.109.112.135/ (yes, 216.109.112.135 is one of Yahoo's IP addresses). The result is a sorry, page could not be found error. A network sniffer shows I sent this: GET /

RE: Suppressing DNS lookups when using wget, forcing specific IP address

2007-06-18 Thread Tony Lewis
Try: wget http://ip.of.new.sitename --header=Host: sitename.com --mirror For example: wget http://66.233.187.99 --header=Host: google.com --mirror Tony -Original Message- From: Kelly Jones [mailto:[EMAIL PROTECTED] Sent: Sunday, June 17, 2007 6:10 PM To: wget@sunsite.dk Subject:

Re: Suppressing DNS lookups when using wget, forcing specific IP address

2007-06-17 Thread Jim Wright
modify /etc/hosts temporarily on the computer you are running wget to add a line similar to 1.2.3.4 sitename.com # temporary hack to get new web site pull the files then remove that line from /etc/hosts. this assumes that /etc/hosts has precedence over dns (and yp or whatever) on your