PARALLAX

fortios_system_dns_server

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_server

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

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
member_pathstr
member_statestr
statestryes
system_dns_serverdict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_dns_server:
    access_token: '{{ fortios_access_token }}'
    state: present
    system_dns_server:
        doh: enable
        doh3: enable
        doq: enable
        mode: recursive
        name: default_name_8 (source system.interface.name)
    vdom: root
  name: Configure DNS servers.
Search
    ↑ ↓ move↵ openesc close