what is different between the .host is domain and IP ?

I thought the IP had multi domains ,so I set the .host exactly to a  domain 
which I want to proxy .

于 2010-12-14 16:27, Lars Jørgensen 写道:
Hi ll,

Specify the ip address instead of the DNS name. That way you also cut the name 
lookups out of the equation.


Lars

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of ll
Sent: Tuesday, December 14, 2010 3:31 AM
To: [email protected]
Subject: New Version backend config

hi,all,Is there any change about the muti-backend config in the 
varnish-cache-2.1.4 version ?
I set the backend like that
backend abc {
          .host="www.abc.com";
          .port="80";
}
the www.abc.com DNS had change to my varnish server ip 192.168.1.1
and i had edit the varnish server 's /etc/hosts file ,add
192.168.1.2 www.abc.com

but now, all the url which had set the backend to "abc" is not work.I use the 
same config in the
2.0.4 version is fine. I don't know how to fix it ?


_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to