Configure DNS server settings
Configure DNS server settings to enable hostname resolution for data traffic on managed devices. This task allows you to set up DNS server groups, trusted DNS services, and interface-specific DNS lookups. These configurations support features such as access control rules, NAT, and application detection.
-
Set up DNS server groups for resolving FQDNs used in data traffic.
-
Configure trusted DNS servers for DNS snooping and application-based PBR.
-
Enable DNS lookups on specific interfaces to control routing behavior.
The Domain Name System (DNS) servers are used to resolve hostnames to IP addresses. Data DNS settings apply to services that use FQDNs, such as access control rules and remote access VPN. Special management traffic uses separate DNS settings configured via CLI commands. This procedure applies only to data DNS servers. For management DNS settings, see the CLI configure network dns servers and configure network dns searchdomains commands.
Managed devices use routing lookups to determine the correct interface for DNS server communications. The system selects the routing table based on the interfaces enabled for DNS. Multiple DNS server groups can be configured to resolve different DNS domains, allowing internal and external DNS resolution as needed.
Trusted DNS serversYou can configure trusted DNS services for DNS snooping. DNS snooping is used to map the application domains to IPs in order to detect the application on the first packet. You can also include the already configured servers in DNS group, DHCP pool, DHCP relay and DHCP client as trusted DNS servers.
For application-based PBR, configure trusted DNS servers. Ensure DNS traffic passes through Firewall Threat Defense in clear text format (because encrypted DNS is not supported) for domain resolution and application detection.
Before you begin
-
Ensure you have created one or more DNS server groups. For more information, see Creating DNS Server Group Objects.
-
Ensure you have created interface objects to connect to the DNS servers.
-
Ensure that the managed device has appropriate static or dynamic routes to access the DNS servers.
Procedure
Step 1 | Choose and create or edit a Threat Defense policy. |
Step 2 | Click DNS, and then click the DNS Settings tab. |
Step 3 | Check Enable DNS name resolution by device. |
Step 4 | Configure the DNS server groups. |
Step 5 | (Optional) Enter the Expiry Entry Timer and Poll Timer values in minutes. These options apply to FQDNs specified in network objects only and do not apply to FQDNs used in other features.
|
Step 6 | Enable DNS lookups on all interfaces or on specific interfaces. These choices also affect which routing tables are used. Enabling DNS lookups on an interface is not the same as specifying the source interface for lookups. The Firewall Threat Defense always uses a route lookup to determine the source interface. Management-only interfaces other than the dedicated Management interface cannot be used.
|
Step 7 | Configure Trusted DNS servers. To search for a DNS server that was added, using either the host name or the IP address, use the search field under Specify DNS Servers. |
Step 8 | Click Save. |
What to do next
To use FQDN objects for access control rules, create an FQDN network object which can then be assigned to an access control rule. For instructions, see Creating Network Objects.
