GatehillsDevelopers

Dynamic DNS

A fixed name for a changing IP

Point a host name of your domain at your home or office connection. Routers and clients such as ddclient, inadyn or a Fritz!Box update it with the standard dyndns2 protocol. Free with Gatehills DNS.

Setup

In the client area open the domain, tab Dynamic DNS, and create a host (for example home.example.com): you get a token, shown once. The domain must be active with Gatehills, use our name servers and have no hosting plan.

Protocol

GET https://new.gatehills.com/nic/update?hostname=home.example.com&myip=203.0.113.7
Authorization: Basic base64("home.example.com:TOKEN")

Also /dyndns/update; IPv6 with myip=<v4>,<v6> or myipv6=. Without myip the address of the request is used. HTTP Basic: user name = full host name, password = token. GET only.

Answers (plain text)

good <ip>Address changed, records updated
nochg <ip>Already that address
badauthMissing or wrong credentials
nohostHost not matching the credentials, or domain no longer eligible
notfqdn, numhostMalformed host name, or more than one
abuseHost disabled, or more than 20 updates without a change in an hour (blocked for one hour)
dnserr, 911DNS or server error: retry later

ddclient example

protocol=dyndns2
use=web
server=new.gatehills.com
login=home.example.com
password=TOKEN
home.example.com