On 30/05/2014 3:56 a.m., Roberto Carna wrote:
> Dear, I've implemented a Squid reverse proxy that works OK.
> 
> I have several HTTP and HTTPS sites setup in reverse mode, but now one
> of them has to change the hostname from server.company.com to
> mail.company.com.
> 
> If I define an alias in our internal DNS as follow:
> 
> mail.company.com  CNAME  server.company.com
> 
> or add a new A record pointing to the same IP as server.company.com:
> 
> mail.company.com A x.x.x.x
> 
> Will reverse Squid work OK without any changes ??? Or do I have to
> have mail.company.com mandatory in the ACL dstdomain clause ???

You should have it in the dstdomain, yes. That is what allows traffic
through the proxy and to the peer.

However, if you already have ".company.com" in the ACL then it and all
other possible sub-domains are already covered.

Amos

Reply via email to