Skip to content

Commit 68be220

Browse files
committed
Add SOA as possible record type
1 parent 3a279c7 commit 68be220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

powerdns_record.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
description:
3232
- Record type
3333
required: false
34-
choices: ['A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SRV']
34+
choices: ['A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV']
3535
default: None
3636
zone:
3737
description:
@@ -188,7 +188,7 @@ def main():
188188
server=dict(type='str', default='localhost'),
189189
state=dict(type='str', default='present', choices=['present', 'absent']),
190190
ttl=dict(type='int', default=86400),
191-
type=dict(type='str', required=False, choices=['A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SRV']),
191+
type=dict(type='str', required=False, choices=['A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV']),
192192
zone=dict(type='str', required=True),
193193
pdns_host=dict(type='str', default='127.0.0.1'),
194194
pdns_port=dict(type='int', default=8081),

0 commit comments

Comments
 (0)