community.general.udm_dns_zone module – Manage dns zones on a univention corporate server
Note
This module is part of the community.general collection (version 6.6.2).
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
.
Synopsis
This module allows to manage dns zones on a univention corporate server (UCS). It uses the python API of the UCS to create a new object or edit it.
Parameters
Parameter |
Comments |
---|---|
Contact person in the SOA record. Default: |
|
Specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative. Default: |
|
List of interface IP addresses, on which the server should response this zone. Required if state=present. Default: |
|
List of MX servers. (Must declared as A or AAAA records). Default: |
|
List of appropriate name servers. Required if state=present. Default: |
|
Interval before the zone should be refreshed. Default: |
|
Interval that should elapse before a failed refresh should be retried. Default: |
|
Whether the dns zone is present or not. Choices:
|
|
Minimum TTL field that should be exported with any RR from this zone. Default: |
|
Define if the zone is a forward or reverse DNS zone. The available choices are: |
|
DNS zone name, e.g. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in |
|
Support: partial |
Will return details on what has changed (or possibly needs changing in |
Examples
- 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
Collection links
Issue Tracker Repository (Sources) Submit a bug report Request a feature Communication