Releases Tags
-
1.5.0
released this 1 year ago | 11 commits to main since this release
- fetch only requested
zone_name
- improve integrationtests (easier to run against custom domains)
thx to https://github.com/rndmh3ro
Downloads
- fetch only requested
-
1.4.3
released this 1 year ago | 16 commits to main since this release
- fix bug.
purge: yes
removes not all existing records
Downloads
- fix bug.
-
1.4.2
released this 1 year ago | 17 commits to main since this release
- fix bug. even with
purge: yes
, it was always handled aspurge: no
and was always appending values.
Downloads
- fix bug. even with
-
1.4.1
released this 1 year ago | 20 commits to main since this release
- minor change (documentation update).
Downloads
-
1.4.0
released this 1 year ago | 21 commits to main since this release
- add support to add/delete muliple DNS records for one Name
- new paramter
purge
with alias parameterreplace
,overwrite
andsolo
to be compatible with other ansible dns modules.
- new paramter
deleting a single A record
$ host dns.osuv.de dns.osuv.de has address 8.8.8.8 dns.osuv.de has address 1.1.1.1 dns.osuv.de has address 8.8.4.4
To delete just
1.1.1.1
do- name: delete single A record markuman.hetzner_dns.record: zone_name: osuv.de name: dns value: 1.1.1.1 type: A state: absent
Will result in (after TTL is over).
$ host dns.osuv.de dns.osuv.de has address 8.8.8.8 dns.osuv.de has address 8.8.4.4
delete all records
$ host dns.osuv.de dns.osuv.de has address 8.8.8.8 dns.osuv.de has address 1.1.1.1 dns.osuv.de has address 8.8.4.4
To delete all records from above, do
- name: delete all A records that match 'name:' value markuman.hetzner_dns.record: zone_name: osuv.de name: dns type: A state: absent
add a record
$ host dns.osuv.de dns.osuv.de has address 8.8.8.8
To add a new record, do
- name: append A record markuman.hetzner_dns.record: zone_name: osuv.de name: dns value: 8.8.4.4 type: A purge: no
Will result in
$ host dns.osuv.de dns.osuv.de has address 8.8.8.8 dns.osuv.de has address 8.8.4.4
Downloads
- add support to add/delete muliple DNS records for one Name
-
1.3.0
released this 1 year ago | 23 commits to main since this release
- graceful error handling and messages
- full
--diff
support
Downloads
-
1.2.0
released this 1 year ago | 27 commits to main since this release
- keep past record informations (Better Check Mode and Diff Support #1)
check_mode
support also for_info
modules (Better Check Mode and Diff Support #1)- Add GPL3+ License
Downloads
-
1.1.0
released this 2 years ago | 32 commits to main since this release
Set default TTL to
300
to detect dns changes correctly. When a record was set manually without setting a TTL, the API does not response a TTL value.Downloads