- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-24-2021 10:34 PM
Hi Team
can we blocked domain in palo alto if domain name contains is *.*covid*.* in palo alto.
I was also wondering whether blocking such domain will be better through dns sinkhole or URL filtering.
02-25-2021 12:21 AM
in URL filtering the url is broken up into tokens separated by dots (ie token.token.token)
in a token you can either add a string or a wildcard, but not both
but you can create custom vulnerabilities where you have full reign over the wildcards and regex you use to identify patterns
02-25-2021 12:24 AM
Hi @shubhamG ,
You can't use consecutive asterisks. Consecutive asterisks in a URL wildcard pattern can severely impact performance and is not supported. Instead, use a single asterisk or multiple carets (^) to indicate consecutive tokens.
Check the following article on how you can use asterisk or caret wildcards : https://docs.paloaltonetworks.com/pan-os/10-0/pan-os-admin/url-filtering/block-and-allow-lists.html
You might want to look into creating a custom application with a pattern match (you can use regular expressions to do a pattern match): https://docs.paloaltonetworks.com/pan-os/u-v/custom-app-id-and-threat-signatures/custom-application-...
Cheers !
-Kiwi
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!