Configure DNS Security Over DoH (PAN-OS 11.0 and Later)
Focus
Focus
Advanced DNS Security Powered by Precision AI™

Configure DNS Security Over DoH (PAN-OS 11.0 and Later)

Table of Contents


Configure DNS Security Over DoH (PAN-OS 11.0 and Later)

  1. Create a Custom URL Category list that includes all DoH resolvers you want to enable traffic to/from (you will need the DNS server URL(s)).
  2. Create a Decryption Policy Rule that references the custom URL category list that you created in the previous step.
  3. Create or update a security policy rule and reference an anti-spyware profile and a custom URL category list (ObjectsCustom ObjectsURL Category) containing the approved list of DoH servers.
  4. Create a block policy to decrypt HTTPS traffic and block all remaining unsanctioned DoH traffic that is not explicitly allowed by the custom URL category list (referenced in step 5) by using the App-ID: dns-over-https and the following URL category: encrypted-dns.
    If you already have an existing block policy to block DoH traffic, verify that the rule is placed below the previous security policy rule used to match with specific DoH resolvers listed in a custom URL category list object.
  5. (Optional) Search for activity on the firewall for HTTPS-encrypted DNS queries that have been processed using DNS Security.
    1. Select MonitorLogsTraffic and filter based on the application using dns-over-https, for example, ( app eq dns-over-https ).
    2. Select a log entry to view the details of a detected DNS threat.
    3. The Application should display dns-over-https in the General pane of the detailed log view, indicating that this is DoH traffic that has been processed using DNS Security. Other relevant details about the threat are displayed in their corresponding windows.