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

2007-06-19 Thread Kelly Jones
: Sunday, June 17, 2007 6:10 PM To: wget@sunsite.dk Subject: Suppressing DNS lookups when using wget, forcing specific IP address I'm moving a site from one server to another, and want to use wget -m combined w/ diff -auwr to help make sure the site looks the same on both servers. My problem: wget -m

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

2007-06-18 Thread Tony Lewis
: Suppressing DNS lookups when using wget, forcing specific IP address I'm moving a site from one server to another, and want to use wget -m combined w/ diff -auwr to help make sure the site looks the same on both servers. My problem: wget -m sitename.com always downloads the site at its *current* IP

Suppressing DNS lookups when using wget, forcing specific IP address

2007-06-17 Thread Kelly Jones
I'm moving a site from one server to another, and want to use wget -m combined w/ diff -auwr to help make sure the site looks the same on both servers. My problem: wget -m sitename.com always downloads the site at its *current* IP address. Can I tell wget: download sitename.com, but pretend the

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