DDNS What and How
Joachim Wiberg
February 17, 2020
DDNS = Dynamic DNS
Updated automatically
DDNS Provider = ISP or Registrar
Usually an Internet Service Provider
DNS Name for an IP address
Most ISP customers have a DHCP or PPPoE/PPPoA address
In-a-Dyn is a DDNS client – sync your IP with your name
ISPs are everywhere, where their customers are.
Many are also DDNS providers.
In-a-Dyn:
→ supports over 30 different providers
→ supports both IPv4 and IPv6
→ supports HTTPS w/ OpenSSL or GnuTLS
A good DDNS client actively tracks changes to your external IP address,
and automatically updates your DDNS provider(s).
Most DDNS providers have a “check ip” server, e.g. https://checkip.dyndns.com
jocke@fra:~$ curl checkip.dyndns.com
<html><head><title>Current IP Check</title></head><body>Current IP Address: 138.68.65.229</body></html>Update the DNS entry, usually with a HTTP GET request. Can be done manually, of course, but most users prefer an automatic service do this for them
How do we set up a VPN to each site when ISPs can change address of our sites at any time? Note, even if you swap it around and let the sites connect to your head office, it may also have a DHCP address.
Wow, Dyn.com gets lots of customers, let’s copy them!
Sounds simple, let’s wrap curl in a shell script!
Well … scripts work for many use-cases but there are things the DDNS providers don’t want you to know
