fortios_system_dns
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_system_dns
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| system_dns | dict | |||
| vdom | str | root |
Example
yaml
- fortinet.fortios.fortios_system_dns:
system_dns:
cache_notfound_responses: disable
dns_cache_limit: "5000"
dns_cache_ttl: "1800"
dns_over_tls: disable
fqdn_cache_ttl: "0"
fqdn_max_refresh: "3600"
fqdn_min_refresh: "60"
hostname_limit: "5000"
hostname_ttl: "86400"
interface_select_method: auto
log: disable
protocol: cleartext
retry: "2"
server_hostname:
- hostname: myhostname
server_select_method: least-rtt
source_ip: 84.230.14.43
timeout: "5"
vrf_select: "0"
vdom: root
name: Configure DNS.