Fortinet black logo

Administration Guide

Create or edit a DNS service

Create or edit a DNS service

To add a DNS service on a specific interface:
  1. Go to Network > DNS Service and, under DNS Service on Interface, select Create New.

  2. Select an interface.

  3. Select Recursive, Non-Recursive, or Forward to System DNS.

  4. Enable DNS Filter if you want to use a DNS filter and select the DNS filter to use.

  5. Enable DNS over HTTPS if you want to use DNS over HTTPS.

  6. Click OK. The new DNS service is added to the table.

To edit a DNS service:
  1. Go to Network > DNS Service and, under DNS Service on Interface, select a DNS service.

  2. Select Edit.

  3. Make your changes.

  4. Click OK.

To enable DNS over HTTPS (DoH) on the DNS server in the CLI:

config system dns-server

edit {<DNS_server_name> | <interface_name>}

set dnsfilter-profile {<profile_name> | default}

set doh enable

next

end

Create or edit a DNS service

To add a DNS service on a specific interface:
  1. Go to Network > DNS Service and, under DNS Service on Interface, select Create New.

  2. Select an interface.

  3. Select Recursive, Non-Recursive, or Forward to System DNS.

  4. Enable DNS Filter if you want to use a DNS filter and select the DNS filter to use.

  5. Enable DNS over HTTPS if you want to use DNS over HTTPS.

  6. Click OK. The new DNS service is added to the table.

To edit a DNS service:
  1. Go to Network > DNS Service and, under DNS Service on Interface, select a DNS service.

  2. Select Edit.

  3. Make your changes.

  4. Click OK.

To enable DNS over HTTPS (DoH) on the DNS server in the CLI:

config system dns-server

edit {<DNS_server_name> | <interface_name>}

set dnsfilter-profile {<profile_name> | default}

set doh enable

next

end