Fortinet white logo
Fortinet white logo

CLI Reference

config system dns-server

config system dns-server

Configure DNS servers.

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

config system dns-server

Parameter

Description

Type

Size

dnsfilter-profile

DNS filter profile.

string

Maximum length: 35

mode

DNS server mode.

option

-

Option

Description

recursive

Shadow DNS database and forward.

non-recursive

Public DNS database only.

forward-only

Forward only.

name

DNS server name.

string

Maximum length: 15

config system dns-server

config system dns-server

Configure DNS servers.

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

config system dns-server

Parameter

Description

Type

Size

dnsfilter-profile

DNS filter profile.

string

Maximum length: 35

mode

DNS server mode.

option

-

Option

Description

recursive

Shadow DNS database and forward.

non-recursive

Public DNS database only.

forward-only

Forward only.

name

DNS server name.

string

Maximum length: 15