system dns
Use this command to configure the FortiWeb appliance with its local domain name, and the IP addresses of the domain name system (DNS) servers that the FortiWeb appliance will query to resolve domain names such as www.example.com into IP addresses.
FortiWeb appliances require connectivity to DNS servers for DNS lookups. Use either the DNS servers supplied by your Internet service provider (ISP) or the IP addresses of your own DNS servers. You must provide unicast, non-local addresses for your DNS servers. Local host and broadcast addresses will not be accepted.
For improved performance, use DNS servers on your local network. |
To use this command, your administrator account’s access control profile must have either w
or rw
permission to the sysgrp
area. For details, see Permissions.
Syntax
config system dns
set domain "<local-domain_str>"
end
Example
This example configures the FortiWeb appliance with the name of the local domain to which it belongs, example.com. It also configures its host name, fortiweb
. Together, this configures the FortiWeb appliance with its own fully qualified domain name (FQDN), fortiweb.example.com.
config system global
set hostname "fortiweb"
end
config system dns
set domain "example.com"
end