Fortinet white logo
Fortinet white logo

config system dns

config system dns

Configure DNS server settings.

Usage

config system dns
    set primary <primary_dns_server>
    set secondary <secondary_dns_server>
end

Subcommands

Command

Description

abort

End and discard last config.

end

End and save last config.

help

List available commands or provide detailed help for a specific command.

set

Set a settable parameter or show current settings of parameters.

Set arguments

Argument

Description

primary

Primary DNS server.

secondary

Secondary DNS server.