Fortinet white logo
Fortinet white logo

CLI Reference

system dns-server

Configure DNS servers.

  config system dns-server
      Description: Configure DNS servers.
      edit <name>
          set mode [recursive|non-recursive|...]
          set dnsfilter-profile {string}
      next
  end

config system dns-server

Parameter Name Description Type Size
mode DNS server mode.
recursive: Shadow DNS database and forward.
non-recursive: Public DNS database only.
forward-only: Forward only.
option -
dnsfilter-profile DNS filter profile. string Maximum length: 35

system dns-server

Configure DNS servers.

  config system dns-server
      Description: Configure DNS servers.
      edit <name>
          set mode [recursive|non-recursive|...]
          set dnsfilter-profile {string}
      next
  end

config system dns-server

Parameter Name Description Type Size
mode DNS server mode.
recursive: Shadow DNS database and forward.
non-recursive: Public DNS database only.
forward-only: Forward only.
option -
dnsfilter-profile DNS filter profile. string Maximum length: 35