diff --git a/plugins/modules/nios_host_record.py b/plugins/modules/nios_host_record.py index ac5f6412..70724275 100644 --- a/plugins/modules/nios_host_record.py +++ b/plugins/modules/nios_host_record.py @@ -46,6 +46,12 @@ default: true aliases: - dns + ddns_protected: + description: + - Protect your DNS record from being overwritten by a dynamic dns update + type: bool + required: false + default: false ipv4addrs: description: - Configures the IPv4 addresses for this host record. This argument @@ -194,6 +200,7 @@ aliases: - cname.ansible.com state: present + ddns_protected: True provider: host: "{{ inventory_hostname_short }}" username: admin @@ -382,6 +389,7 @@ def main(): ipv6addrs=dict(type='list', aliases=['ipv6'], elements='dict', options=ipv6addr_spec, transform=ipv6addrs), configure_for_dns=dict(type='bool', default=True, required=False, aliases=['dns'], ib_req=True), aliases=dict(type='list', elements='str'), + ddns_protected=dict(type='bool', default=False, required=False), ttl=dict(type='int'),