Fortinet black logo

DNS

DNS

DNS configuration is handled within the DNS context.

To enter the DNS configuration, from the base context run:

config system dns

Available commands

Command

Description

abort

Cancels any edits made since entering the context, and returns to the base context

end

Saves changes made since entering the context, and returns to the base context

help

Shows the available commands

show

Show the current configuration, including uncommitted edits

set primary [<primary address>]

Sets the primary DNS address (ip or hostname)

set secondary [<secondary address>]

Sets the secondary DNS address(ip or hostname)

unset [primary|secondary]

Unsets the primary or secondary address

DNS

DNS configuration is handled within the DNS context.

To enter the DNS configuration, from the base context run:

config system dns

Available commands

Command

Description

abort

Cancels any edits made since entering the context, and returns to the base context

end

Saves changes made since entering the context, and returns to the base context

help

Shows the available commands

show

Show the current configuration, including uncommitted edits

set primary [<primary address>]

Sets the primary DNS address (ip or hostname)

set secondary [<secondary address>]

Sets the secondary DNS address(ip or hostname)

unset [primary|secondary]

Unsets the primary or secondary address