Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Request for a public API for dyn.dns.he.net  (Read 2377 times)

frgomes

  • Newbie
  • *
  • Posts: 4
Request for a public API for dyn.dns.he.net
« 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):

Code: [Select]
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
« Last Edit: June 07, 2018, 02:32:04 PM by frgomes »
Logged

chaz6

  • Newbie
  • *
  • Posts: 12
Re: Request for a public API for dyn.dns.he.net
« Reply #1 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).
Logged