Close
Social profiles

Web Server Hostname (dstdomain)

This will match the domain name of the destination server URL, You can blobk ant domain names via this directive.
acl aclname dstdomain hostname.domain.suffix
acl aclname dstdomain .domain.suffix

Example

acl WebTecexpertz dstdomain www.google.com
acl WebTecexpertz  dstdomain tecexpertz.com  # matches exactly texexpertz.com
acl WebTecexpertz dstdomain .tecexpertz.com # all subdomains of tecexpertz.com

Web Server Regexp (dstdom_regexp)

and also you can use the regular expression patterns.

acl aclname dstdom_regexp regexp

Example

acl domains_starting_with_the_letter_x dstdom_regexp ^x.*

Related Articles:

2 thoughts on “Squid Proxy Server – ACL : dstdomain”

  1. I simply want to mention I am very new to blogs and honestly enjoyed your blog. More than likely I’m planning to bookmark your blog post . You really have terrific stories. With thanks for sharing with us your web-site.

  2. I just want to say I am just new to weblog and definitely enjoyed you’re blog site. More than likely I’m want to bookmark your website . You actually come with impressive well written articles. Many thanks for sharing with us your blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

Close