bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] make wget connect to a given IP/vhost?


From: Tomasz Chmielewski
Subject: [Bug-wget] make wget connect to a given IP/vhost?
Date: Tue, 07 Sep 2010 15:36:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

I'm running a geo-ip web cache system.

Assuming I have a www.example.com domain configured, DNS replies with a different IP, depending on who asks (i.e. location in US would get a 1.1.1.1 address, location in Europe would get a 2.2.2.2 address, and so on).


Now, I'd like to monitor if each of the caches replies with correct content (i.e. a given page contains a given string).
c
Can I somehow make wget connect to a given remote IP and fetch a given vhost?


I'm thinking in something in the line of:

wget --remote-ip 1.1.1.1 www.example.com
wget --remote-ip 2.2.2.2 www.example.com


Is something like this possible with wget? I checked the manual, but I didn't find an option which would be similar in functionality.


--
Tomasz Chmielewski
http://wpkg.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]