Fortinet white logo
Fortinet white 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 End and discard last config
end End and save last config
help Display usage
set domain [<domain>] Search suffix list for hostname lookup [<domain>] Search suffix list for hostname lookup
set ip6-primary <dns> Primary DNS IPv6 address <dns> Primary DNS IPv6 address
set ip6-secondary <dns> Secondary DNS IPv6 address <dns>
set primary <dns> Primary DNS <dns> Primary DNS
set secondary <dns> Secondary DNS <dns>
show full-configuration Show full DNS configuration
unset domain Domain name server
unset ip6-primary Primary DNS IPv6 address
unset ip6-secondary Secondary DNS IPv6 address
unset primary Primary DNS
unset secondary Secondary DNS

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 End and discard last config
end End and save last config
help Display usage
set domain [<domain>] Search suffix list for hostname lookup [<domain>] Search suffix list for hostname lookup
set ip6-primary <dns> Primary DNS IPv6 address <dns> Primary DNS IPv6 address
set ip6-secondary <dns> Secondary DNS IPv6 address <dns>
set primary <dns> Primary DNS <dns> Primary DNS
set secondary <dns> Secondary DNS <dns>
show full-configuration Show full DNS configuration
unset domain Domain name server
unset ip6-primary Primary DNS IPv6 address
unset ip6-secondary Secondary DNS IPv6 address
unset primary Primary DNS
unset secondary Secondary DNS