RegEx Pattern for FQDN Address Object

RegEx Pattern for FQDN Address Object

74638
Created On 09/25/18 20:39 PM - Last Modified 06/13/23 04:58 AM


Resolution


Symptom

There is a limitation in creating an address object under Objects > Addresses and click Add.

As shown below, after entering a parameter, 'OK' is greyed out:

Fqdn-address.PNG

 

Cause

 

Wildcards or regex patterns cannot be used to form a valid FQDN

 

The validation of FQDN object is performed using 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 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  '.' , '_' , '-' .

 

 

 

 

owner: hyadavalli



Actions
  • Print
  • Copy Link

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

Choose Language