If your firewall is to act as a DNS proxy, perform this task to configure a
DNS Proxy Object. The proxy object can either be shared among all virtual systems or applied to a specific virtual system.
Configure a DNS Proxy Object
Configure the basic settings for a DNS Proxy object.
Network > DNS Proxy
a new object.
for the object.
Location, select the virtual system to which the object applies. If you select
Shared, you must specify at least a
DNS server address, and optionally a
If you selected a virtual system, for
Server Profile, select a DNS Server profile or else click
DNS Server Profile
to configure a new profile. See
Configure a DNS Server Profile.
For Inheritance Source, select a source from which to inherit default DNS server settings. The default is
and specify the interfaces to which the DNS Proxy object applies.
If you use the DNS Proxy object for performing DNS lookups, an interface is required. The firewall will listen for DNS requests on this interface, and then proxy them.
If you use the DNS Proxy object for a service route, the interface is optional.
(Optional) Specify DNS Proxy rules.
DNS Proxy Rules
and enter a
for the rule.
Turn on caching of domains resolved by this mapping
if you want the firewall to cache the resolved domains.
Domain Name, click
and enter one or more domains, one entry per row, to which the firewall compares FQDN queries. If a query matches one of the domains in the rule, the query is sent to one of the following servers to be resolved (depending on what you configured in the prior step):
DNS Server directly specified for this proxy object.
DNS Server specified in the DNS Server profile for this proxy object.
Reference: DNS Proxy Rule and FQDN Matching describes how the firewall matches domain names in an FQDN to a DNS proxy rule. If no match is found, default DNS servers resolve the query.
Do one of the following, depending on what you set the
If you chose a virtual system, select a
DNS Server profile.
If you chose
Shared, enter a
and optionally a
(Optional) Supply the DNS Proxy with static FQDN-to-address entries. Static DNS entries allow the firewall to resolve the FQDN to an IP address without sending a query to the DNS server.
and enter a
and enter the IP address to which the FQDN should be mapped.
You can enter additional IP addresses for an FQDN; the firewall provides all of the IP addresses in its DNS response and the client chooses which address to use.
(Optional) Enable caching and configure other advanced settings for the DNS Proxy.
to enable the firewall to cache FQDN-to-address mappings that the firewall learns.
settings with default values. Beginning with PAN-OS 7.1.1 and later releases, the DNS proxy automates these settings to maximize efficiency.
to enable DNS queries using TCP.
Max Pending Requests
—Enter the maximum number of concurrent, pending TCP DNS requests that the firewall will support (range is 64-256; default is 64).
UDP Queries Retries, enter the following:
—Enter the length of time (in seconds) after which another request is sent if no response has been received. (range is 1-30; default is 2).
—Enter the maximum number of UDP query attempts (excluding the first attempt) after which the next DNS server is queried (range is 1-30; default is 5.)