Hurricane Electric's IPv6 Tunnel Broker Forums

DNS.HE.NET Topics => General Questions & Suggestions => Topic started by: frgomes on March 17, 2018, 10:30:25 AM

Title: Request for a public API for dyn.dns.he.net
Post by: frgomes on March 17, 2018, 10:30:25 AM
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
Title: Re: Request for a public API for dyn.dns.he.net
Post by: chaz6 on April 05, 2018, 01:43:29 AM
I am in support of this too. It would make it easier to do DNS verification with LetsEncrypt (required for wildcard certificates).
Title: Re: Request for a public API for dyn.dns.he.net
Post by: polishpaul on December 13, 2018, 09:20:49 PM
Has anyone asked support about this?