Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Checking URLS across a cluster.: msg#00016

lang.perl.modules.lwp

Subject: Re: Checking URLS across a cluster.

Could you create a script that added/modified entries to your hosts
file that forced the domain you're trying to reach to have a specific
IP address?

On 4/10/06, J.Slee <J.Slee@xxxxxxxxxx> wrote:
> > What I'm hearing you say is that the DNS is round-robin DNS, so that
> there are three possible IP addresses that come back for foo.com.
>
>
>
> No, I obviously am not being clear. The DNS lookup comes back with one
> address from the lookup, which is the virtual IP address of the cluster.
>
> I want to be able to avoid using DNS lookup and tell the LWP module when
> it does a GET request to use the specific IP address of each host in the
> cluster, so I know that I have checked each one as being available and
> placed an entry in the ISS log file.
>
>
>
> Unfortunately I can't replace the host part of the URL with the
> specific IP address for each host as I need to have the URL looking like
> http://hostname.mydomain/ <http://hostname.mydomain/> as it is
> redirected to a specific virtual web site using host headers.
>
>
>
> Regards Jamie
>
>
>
> ________________________________
>
> From: Andy Lester [mailto:andy@xxxxxxxxxxxx]
> Sent: 10 April 2006 14:14
> To: J.Slee
> Cc: libwww@xxxxxxxx
> Subject: Re: Checking URLS across a cluster.
>
>
>
>
>
> On Apr 10, 2006, at 6:38 AM, J.Slee wrote:
>
>
>
>
>
> I expect it just does a DNS lookup on the host portion of the URL
>
> provided, and this will just give back the virtual IP address of the
>
> cluster.
>
>
>
> What I'm hearing you say is that the DNS is round-robin DNS, so that
> there are three possible IP addresses that come back for foo.com.
>
>
>
> There's no way that a DNS client can force a given DNS request to come
> back with a given IP, at least that I'm aware of. The issue is one of
> DNS, not of Mechanize.
>
>
>
> --
>
> Andy Lester => andy@xxxxxxxxxxxx => www.petdance.com => AIM:petdance
>
>
>
>
>
>
>
>
>
>
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe