RegEx Pattern for FQDN Address Object

RegEx Pattern for FQDN Address Object

93305
Created On 09/25/18 20:39 PM - Last Modified 05/20/26 10:02 AM


Symptom


When you try to create an FQDN Address object, you can't use wildcards.



Environment


NGFW



Cause


  • Wildcards or regex patterns cannot be used to form a valid FQDN
  • The validation of FQDN object is performed using the RegEx pattern ^([a-zA-Z0-9._-])+$ by the system to determine if a given hostname uses valid characters.
  • Where ^ specifies start of a string, and $ specifies the end of a string, and + indicates one or more strings in the Round Brackets.
  • [a-zA-Z0-9._-] indicates any character specified in the Square Brackets, which does not include any other special characters other than  '.' , '_' , '-' .

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000CljdCAC&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language