Hello Alex,
Thanks for the reply. We tried running the test bed with the IP address
configured instead of domain names as you mentioned.It is working.
Yes, we need to send the host headers to the proxy so that it
will select the correct origin server. Our test bed should use the names
instead of the addresses
Polyclt1 ---|
| ----
www1.mycompany.com
| squid-2.6 reverse |
---- www2.mycompany.com
| ---------------------> proxy <-------------------------
| ---------------
|
| --------------
Polyclt2 ---|
| ----
www15.mycompany.com
Thanks in Advance,
---Jag
On 10/26/06, Alex Rousskov <rousskov@measurement-factory.com> wrote:
>
> On Thu, 2006-10-26 at 01:13 +0530, Jegadeesh wrote:
>
> > We have attached the DNS configuration in workload file.
> >
> > AddrMap Map = {
> > addresses = [ '172.16.X.101:80', '172.16.X.101:80',
> > '172.16.X.101:80', '172.16.X.101:80', '172.16.X.101:80' ];
> > names = [ 'www[1-5].mycompany.com:80' ];
> >
> > };
> >
> > DnsResolver dr = {
> > servers = [ '172.16.X.X:53' ];//DNS server IP and Port
> > timeout = 05sec;
> > };
> >
> > Robot R = {
> > .......................
> > .......................
> >
> > dns_resolver = dr;
> > };
> >
> > Is there any wrong. Please help me.
>
> Is there a reason you want to put domain names in Map.names? Can you
> just put IP addresses there? For example,
>
> AddrMap = {
> addresses = ...;
> names = addresses;
> };
>
> And if your map is 1:1, you can get rid of it by specifying IP addresses
> in R.origins.
>
> If the above does not work, we would need to teach Polygraph how to
> resolve addresses using the AddrMap, without making actual DNS queries.
>
> HTH,
>
> Alex.
>
>
>
Received on Thu Oct 26 08:49:31 2006
This archive was generated by hypermail 2.1.8 : Thu Oct 26 2006 - 12:00:05 MDT