Fortinet white logo
Fortinet white logo

Admin Guide (Standalone)

Enable DNS service

Enable DNS service

To enable DNS service on a specific interface:
config system dns-server
    edit <name>
        set interface <interface name>
        set mode [recursive|non-recursive|forward-only]
    next
end

Parameter

Description

interface Required. Specify the interface to enable the DNS service. Only one DNS service can be enabled on an interface.
mode

Required. Select the DNS server mode, which can be one of the following:

  • recursive (default)

  • non-recursive

  • forward-only

Enable DNS service

Enable DNS service

To enable DNS service on a specific interface:
config system dns-server
    edit <name>
        set interface <interface name>
        set mode [recursive|non-recursive|forward-only]
    next
end

Parameter

Description

interface Required. Specify the interface to enable the DNS service. Only one DNS service can be enabled on an interface.
mode

Required. Select the DNS server mode, which can be one of the following:

  • recursive (default)

  • non-recursive

  • forward-only