How Do I Configure FortiGate as a DNS Server?


Heather Bennett

Configuring FortiGate as a DNS Server is a crucial step in managing your network’s DNS resolution. By setting up your FortiGate appliance as a DNS server, you can centrally manage and control the DNS requests from your network devices. This tutorial will guide you through the process of configuring FortiGate as a DNS server.

Step 1: Accessing FortiGate Web Interface

To configure FortiGate as a DNS server, you need to access its web interface. Open your preferred web browser and enter the IP address of your FortiGate appliance in the address bar. Press Enter to navigate to the login page.

Note: Ensure that you have administrative privileges to access and modify the settings of your FortiGate appliance.

Step 2: Logging In

On the login page, enter your username and password to log in to the FortiGate web interface.

Step 3: Navigating to DNS Settings

Once logged in, navigate to the System menu and click on DNS. This will take you to the DNS configuration page.

Step 4: Enabling DNS Service

To enable the DNS service on your FortiGate appliance, tick the checkbox labeled “Enable”. This will activate the DNS functionality on your device.

Step 5: Configuring Primary Resolver IP Address

In this step, enter the IP address of your primary resolver. The primary resolver is responsible for resolving domain names that are not cached locally on your FortiGate appliance.

Note: It’s recommended to use a reliable public DNS resolver like Google’s public DNS (8.8.8) or OpenDNS ( as your primary resolver.

Step 6: Configuring Secondary Resolver IP Address

In case the primary resolver fails to resolve a domain name, you can configure a secondary resolver as a backup option. Enter the IP address of your secondary resolver in the designated field.

Step 7: Applying Changes

After configuring the primary and secondary resolvers, click on the “Apply” button to save your changes and apply them to the FortiGate appliance.


Configuring FortiGate as a DNS server provides you with centralized control over DNS resolution in your network. By following these steps, you can easily set up and configure FortiGate as a DNS server, ensuring efficient and reliable DNS resolution for your network devices.

  • Step 1: Access the FortiGate web interface
  • Step 2: Log in with administrative privileges
  • Step 3: Navigate to DNS settings
  • Step 4: Enable DNS service
  • Step 5: Configure primary resolver IP address
  • Step 6: Configure secondary resolver IP address
  • Step 7: Apply changes

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy