Pi3 DynDNS

This has been replaced

Pi3 DynDNS

I want to give my home’s Raspberry Pi3 a DNS name so that I can access it more easily.

DNS and Dynamic IP Addresses

The Domain Naming System is how those readable textual names like example.com become the actual IP Addresses like that web pages, email, and everything else needs to work. Various groups allow people to register a domain (or subdomain) and specify the IP address of a computer that the domain should reffer to. Most home computers, however, don’t keep the same IP address forever - they’re consideded dynamic (rather than static) because they can (and do) change.

DynDNS for Pi3

I’m following the instructions from this guy’s page http://blog.mivia.dk/free-dynamic-dns-for-raspberry-pi/ with some changes.

  1. I setup an account with the DNSdynamic and registed a domain
  2. I used apt to sudo apt-get install ddclient and get the client on my Pi3
    1. I may have run through the wizzard ; I can’t remember
  3. I overwrote with the example /etc/ddclient.conf

    # Configuration file for ddclient generated by debconf
    # /etc/ddclient.conf
    daemon=300                       # check every 60 seconds
    syslog=yes                       # log update msgs to syslog
    mail=root                        # mail all msgs to root
    mail-failure=root                # mail failed update msgs to root
    pid=/var/run/ddclient.pid        # record PID in file.
    ssl=yes                          # use ssl-support.
    use=web, web=myip.dnsdynamic.org # get ip from server.
    server=www.dnsdynamic.org        # default server
    login=YOUR-LOGIN                 # your login
    password=YOUR-PASSWORD           # your password
    server=www.dnsdynamic.org,       \
    protocol=dyndns2                 \

… which has the big deviation from the original.

I’m using myip.dnsdynamic.org not myip.dnsdynamic.com to detect what my IPAddress is. So that’s that - I can host whatnot from my flat.

Peter LaValle avatar
About Peter LaValle
Peter is currently a PhD student at the University of Nottingham. His day work involves applying functional programming to problems with artificial intelligence. Someday maybe he'll retire and be a graphics programmer or demoscene coder.
comments powered by Disqus