Note
This module is part of the community.general collection (version 10.7.3).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install community.general.
To use it in a playbook, specify: community.general.udm_dns_zone.
Parameter | Comments |
|---|---|
contact string | Contact person in the SOA record. Default: |
expire integer | Specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative. Default: |
interfaces list / elements=string | List of interface IP addresses, on which the server should response this zone. Required if Default: |
mx list / elements=string | List of MX servers. (Must declared as A or AAAA records). Default: |
nameserver list / elements=string | List of appropriate name servers. Required if Default: |
refresh integer | Interval before the zone should be refreshed. Default: |
retry integer | Interval that should elapse before a failed refresh should be retried. Default: |
state string | Whether the DNS zone is present or not. Choices:
|
ttl integer | Minimum TTL field that should be exported with any RR from this zone. Default: |
type string / required | Define if the zone is a forward or reverse DNS zone. The available choices are: |
zone aliases: name string / required | DNS zone name, for example |
Attribute | Support | Description |
|---|---|---|
check_mode | Support: full | Can run in |
diff_mode | Support: partial | Will return details on what has changed (or possibly needs changing in |
- name: Create a DNS zone on a UCS
community.general.udm_dns_zone:
zone: example.com
type: forward_zone
nameserver:
- ucs.example.com
interfaces:
- 192.0.2.1
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/general/udm_dns_zone_module.html