• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Request for a public API for dyn.dns.he.net

Started by frgomes, March 17, 2018, 10:30:25 AM

Previous topic - Next topic

frgomes

Hello ALL,

First and foremost, thanks a lot for the great service provided by HE.NET.
Getting to the point:

I have a shell script which automagically creates and deploys virtual machines, etc, etc.
When these virtual machines come up, they "phone home" by updating their IPv6 address onto dyn.dns.he.net.
Its just a matter of something like this below (for the benefit of people landing to this page from random reasons):

function update_ipv6 {
  local fqdn="test.example.com"
  local ddnspasswd="ddns key obtained from dns.he.net"

  /usr/bin/curl -6 "https://dyn.dns.he.net/nic/update" -d "hostname=\${fqdn}" -d "password=\${ddnspasswd}"  | /usr/bin/logger -f /var/log/ddnd-update.log 2>&1
}


This works well enough and I'm satisfied.
However, I would like to automate the process even further: I would like to create entries on dyn.dns.he.net so that virtual machines would later update their IPv6 addresses as already described.

At the moment, creating entries on dyn.dns.he.net has to be done by hand or using some weird/dirty measures by mimicking a human sitting in front of a web browser, pressing buttons, etc.

So, I'd like to request HE.NET for making your API available to the general public so that clients and enthusiasts could benefit from that.

Thank you very much,

-- Richard Gomes

chaz6

I am in support of this too. It would make it easier to do DNS verification with LetsEncrypt (required for wildcard certificates).

polishpaul