# dnsmadeeasy question

**URL:** <https://forum.ansible.com/t/dnsmadeeasy-question/24429>\
**Category:** Ansible Project\
**Created:** [May 9, 2017, 3:23pm UTC](https://forum.ansible.com/t/dnsmadeeasy-question/24429 "2017-05-09T15:23:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ed\_Greenberg](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Post date:** [May 9, 2017, 3:23pm UTC](https://forum.ansible.com/t/dnsmadeeasy-question/24429/1 "2017-05-09T15:23:21Z")

</div>

Thanks to Bruce for writing the dnsmadeeasy module.

I am trying to update a TXT record that exists in dnsmadeeasy without a name within the domain. It’s a SPF record.

I can’t select it, because I don’t know it’s value. So I select all the records: account\_secret=foo account\_key=loo [domain=example.org](http://domain=example.org) record\_type=TXT

Note that you NEED a record type, but the call returns all records, no matter the type.

So now I have the value of the spf record (and it’s ID.)

I update the SPF record by deleting or adding an ip4: term, and then I want to write it back.

Now, I know what it looks like, and what it looked like before, but I don’t know how to call the dnsmadeeasy module to put it back.

What seems to be needed is a “update record by id” function.

Any suggestions?

Thanks,

Ed Greenberg
