PARALLAX

fortios_system_dns_database

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_database

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_databasedict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_dns_database:
    access_token: '{{ fortios_access_token }}'
    state: present
    system_dns_database:
        authoritative: enable
        dns_entry:
            - hostname: myhostname
              id: "9"
              preference: "10"
              status: enable
              ttl: "0"
              type: A
        interface_select_method: auto
        name: default_name_23
        rr_max: "16384"
        source_ip: 84.230.14.43
        status: enable
        ttl: "86400"
        type: primary
        view: shadow
        vrf_select: "0"
    vdom: root
  name: Configure DNS databases.
Search
    ↑ ↓ move↵ openesc close