system : dns-server
 
dns-server
Use this command to configure the dns-server on a particular interface.
 
Syntax
config system dns-server
edit <intf_name>
set mode {forward-only | non‑recursive | recursive}
end
Variable
Description
Default
mode {forward-only | non‑recursive | recursive}
Select the mode the dns-server for this interface will use.
forward-only — Forward query to the DNS server configured for the FortiGate unit.
non-recursive — Look up domain name in local database. Do not relay the request to the DNS server configured for the FortiGate unit. See system dns-database on page 367.
recursive — Look up domain name in local database. If the entry is not found, relay the request to the DNS server configured for the FortiGate unit.
recursive