effectivelywild.technitium_dns.technitium_dns_get_zone_options module – Get DNS zone options
Note
This module is part of the effectivelywild.technitium_dns collection (version 0.4.0).
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 effectivelywild.technitium_dns
.
To use it in a playbook, specify: effectivelywild.technitium_dns.technitium_dns_get_zone_options
.
New in effectivelywild.technitium_dns 0.1.0
Synopsis
Retrieve zone-specific options from a Technitium DNS server.
Parameters
Parameter |
Comments |
---|---|
Port for the Technitium DNS API. Defaults to 5380. Default: |
|
API token for authenticating with the Technitium DNS API. |
|
Base URL for the Technitium DNS API |
|
Include list of available Catalog zone names on the DNS server. Choices:
|
|
Include list of available TSIG key names on the DNS server. Choices:
|
|
Whether to validate SSL certificates when making API requests. Choices:
|
|
The domain name of the zone to get options for. |
See Also
See also
- effectivelywild.technitium_dns.technitium_dns_create_zone
Creates DNS Zones
- effectivelywild.technitium_dns.technitium_dns_delete_zone
Deletes DNS Zones
- effectivelywild.technitium_dns.technitium_dns_sign_zone
Sign a zone with DNSSEC
- effectivelywild.technitium_dns.technitium_dns_set_zone_options
Set zone options
- effectivelywild.technitium_dns.technitium_dns_enable_zone
Enable a zone
- effectivelywild.technitium_dns.technitium_dns_disable_zone
Disable a zone
Examples
- name: Get options for example.com zone
technitium_dns_get_zone_options:
api_url: "http://localhost"
api_token: "myapitoken"
zone: "example.com"
includeAvailableTsigKeyNames: true
register: result
- debug:
var: result.options
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Whether the module made changes (always false for get operations) Returned: always Sample: |
|
Whether the module failed Returned: always Sample: |
|
Zone options returned from API Returned: always |
|
List of available catalog zone names (when includeAvailableCatalogZoneNames is true) Returned: when requested |
|
List of available TSIG key names (when includeAvailableTsigKeyNames is true) Returned: when requested |
|
Zone catalog information Returned: always |
|
Whether the zone is disabled Returned: always |
|
DNSSEC status of the zone Returned: always |
|
Whether the zone is internal Returned: always |
|
Zone name Returned: always |
|
Zone notification policy (e.g., ZoneNameServers) Returned: always |
|
Whether zone notification failed Returned: always |
|
List of hosts for which notification failed Returned: always |
|
List of name servers to notify Returned: always |
|
Whether to override catalog notify settings Returned: always |
|
Whether to override catalog query access settings Returned: always |
|
Whether to override catalog zone transfer settings Returned: always |
|
Query access policy (e.g., Allow, Deny) Returned: always |
|
Network ACL for query access Returned: always |
|
Zone type (e.g., Primary, Secondary) Returned: always |
|
Zone update policy (e.g., UseSpecifiedNetworkACL) Returned: always |
|
Network ACL for zone updates Returned: always |
|
List of update security policies Returned: always |
|
List of allowed DNS record types Returned: success |
|
Domain pattern for the policy Returned: success |
|
TSIG key name for the policy Returned: success |
|
Zone transfer policy (e.g., AllowOnlyZoneNameServers) Returned: always |
|
Network ACL for zone transfers Returned: always |
|
TSIG key names allowed for zone transfers Returned: always |