title: How to automate adding a dns entry in easydns with terraform?
body: <p>I am automating creating a instance in oracle cloud and deploy some apps in it.</p>
  <p>After setting up the instance, I want to add a dns entry that maps the public IP of the new instance to a FQDN in easydns.com. And also want to generate Let's Encrypt TLS certificates for that FQDN using certbot in the instance. Currently, I'm doing this manually.</p>
  <p>I want to automate this second part using Terraform or ansible.</p>
  <ul>
  <li><p>I found a <strong>EasyDNS DNS Challenge Provider</strong> here in terraform, but i think this is for dns challenge, and i'm still confused how to use it to add the dns entry.:
  <a href="https://www.terraform.io/docs/providers/acme/dns_providers/easydns.html" rel="nofollow noreferrer">https://www.terraform.io/docs/providers/acme/dns_providers/easydns.html</a></p>
  </li>
  <li><p>Can i use this <strong>DNS Provider</strong> to add an A record in easydns? ( Don't now if easydns supports RFC 2136 ) :
  <a href="https://registry.terraform.io/providers/hashicorp/dns/latest/docs" rel="nofollow noreferrer">https://registry.terraform.io/providers/hashicorp/dns/latest/docs</a></p>
  </li>
  <li><p>Is there any Ansible module something like below using which i can achieve the same?
  <a href="https://docs.ansible.com/ansible/latest/collections/community/general/nsupdate_module.html" rel="nofollow noreferrer">https://docs.ansible.com/ansible/latest/collections/community/general/nsupdate_module.html</a>
  <a href="https://docs.ansible.com/ansible/latest/collections/community/general/dnsimple_module.html" rel="nofollow noreferrer">https://docs.ansible.com/ansible/latest/collections/community/general/dnsimple_module.html</a></p>
  </li>
  <li><p>Or is it a good option to add OCI DNS as secondary dns or something like that?</p>
  </li>
  </ul>
  <p>Can someone help me in this?</p>