effectivelywild.technitium_dns.technitium_dns_update_dnskey_ttl module – Update DNSKEY TTL for a DNSSEC-signed zone
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_update_dnskey_ttl
.
New in effectivelywild.technitium_dns 0.3.0
Synopsis
Updates the TTL value for DNSKEY resource record set in a DNSSEC-signed zone.
The value can be updated only when all the DNSKEYs are in ready or active state.
The zone must already be signed with DNSSEC.
Parameters
Parameter |
Comments |
---|---|
Port for the Technitium DNS API. Defaults to 5380 Default: |
|
API token for authentication |
|
Base URL for the Technitium DNS API |
|
The TTL value for the DNSKEY resource record set in seconds |
|
Whether to validate SSL certificates when making API requests. Choices:
|
|
The name of the primary zone to update DNSKEY TTL for |
See Also
See also
- effectivelywild.technitium_dns.technitium_dns_get_dnssec_properties
Get DNSSEC properties for a zone
- effectivelywild.technitium_dns.technitium_dns_update_private_key
Update DNSSEC private key properties
Examples
- name: Update DNSKEY TTL to 86400 seconds (24 hours)
technitium_dns_update_dnskey_ttl:
api_url: "http://localhost"
api_token: "myapitoken"
zone: "example.com"
ttl: 86400
- name: Update DNSKEY TTL to 3600 seconds (1 hour)
technitium_dns_update_dnskey_ttl:
api_url: "http://localhost"
api_token: "myapitoken"
zone: "example.com"
ttl: 3600
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Full API response from Technitium DNS server Returned: always Sample: |
|
Whether the module made changes Returned: always Sample: |
|
The updated DNSKEY TTL value Returned: success Sample: |
|
Whether the module failed Returned: always Sample: |
|
Human readable message describing the result Returned: always Sample: |