Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Dynamic DNS information  (Read 11243 times)

spil

  • Newbie
  • *
  • Posts: 2
Dynamic DNS information
« on: January 26, 2012, 05:50:46 AM »

First of all: great service. Thanks for providing it! Hope that this posts helps people when setting up the he.net DynDNS service.

During setup I noticed the following:
  • Information on how to setup dynamic dns entries is visible only before login. Once logged in you can't see the information
  • Information doesn't include the https option which is available on the same hostnames, just replacing http with https works fine e.g.
Code: [Select]
https://dyn.example.com:password@dyn.dns.he.net/nic/update?hostname=dyn.example.com
    [/li]
  • You need to generate a DDNS key and use that as "password"


The response that you receive when updating a record is (for automatic processing)
  • On change: "good 12.34.56.78"
  • No change: "nochg 12.34.56.78"
The ip-address returned is the address that will be registered in the he.net dns servers for the hostname.
I use this to process the result and emit an email if my ip-address has changed (from cron):
Code: [Select]
https://dyn.example.com:password@dyn.dns.he.net/nic/update?hostname=dyn.example.com | grep -qs good && echo IP-address changed!NOTE: This is using FreeBSD grep which, according to the manpage, behaves differently with the -s switch than GNU grep.
« Last Edit: January 26, 2012, 06:29:22 AM by spil »
Logged