- name: Add or modify DNS records A to some IP community.general.nsupdate: key_name: "rndc-key" key_secret: "{{ rndc_key }}" key_algorithm: "hmac-md5" server: "{{ main_dns_server }}" zone: "{{ zone_record }}" record: "{{ name_record }}" ttl: "{{ ttl_record }}" type: "{{ type_record }}" value: "{{ value_record }}" state: "{{ state_record }}"