Releases: markuman/hetzner_dns
Releases · markuman/hetzner_dns
1.6.0
1.5.0
1.5.0
- fetch only requested
zone_name
- improve integrationtests (easier to run against custom domains)
thx to https://github.com/rndmh3ro
1.4.3
1.4.2
1.4.0
- 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
1.3.0
1.2.0
- 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