config system dns
CautionSystem DNS settings
show system dns
Gets/sets the box's own DNS — FortiGuard, web filtering and FQDN objects all depend on it.
Examples
config system dns set primary 192.168.1.1 endChange the primary DNS
Syntax
show system dns / config system dns → set primary <ip>
Before you run it
Bad DNS breaks FQDN-based policies too.
Related commands
- dns server / recursiveDNS configuration
- digDNS query
You can carry a laptop to the rack. Signal will not follow.
Check syntax standing in front of the hardware, with no connection at all. Free to install, no ads.
Get it free on the App Store