Skip to content

Instantly share code, notes, and snippets.

@floehopper
Last active March 28, 2018 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floehopper/bd5fc7b502feb6bb922101bef4eed4e7 to your computer and use it in GitHub Desktop.
Save floehopper/bd5fc7b502feb6bb922101bef4eed4e7 to your computer and use it in GitHub Desktop.
2SS RPi dynamic DNS configuration
== NIC specific variables and examples:
o 'changeip'
The 'changeip' protocol is used by DNS services offered by changeip.com.
Configuration variables applicable to the 'changeip' protocol are:
protocol=changeip ##
server=fqdn.of.service ## defaults to nic.changeip.com
login=service-login ## login name and password registered with the service
password=service-password ##
fully.qualified.host ## the host registered with the service.
Example ddclient.conf file entries:
## single host update
protocol=changeip, \
login=my-my-changeip.com-login, \
password=my-changeip.com-password \
myhost.changeip.org
o 'dyndns2'
The 'dyndns2' protocol is a newer low-bandwidth protocol used by a
free dynamic DNS service offered by www.dyndns.org. It supports
features of the older 'dyndns1' in addition to others. [These will be
supported in a future version of ddclient.]
Configuration variables applicable to the 'dyndns2' protocol are:
protocol=dyndns2 ##
server=fqdn.of.service ## defaults to members.dyndns.org
script=/path/to/script ## defaults to /nic/update
backupmx=no|yes ## indicates that this host is the primary MX for the domain.
static=no|yes ## indicates that this host has a static IP address.
custom=no|yes ## indicates that this host is a 'custom' top-level domain name.
mx=any.host.domain ## a host MX'ing for this host definition.
wildcard=no|yes ## add a DNS wildcard CNAME record that points to {host}
login=service-login ## login name and password registered with the service
password=service-password ##
fully.qualified.host ## the host registered with the service.
Example ddclient.conf file entries:
## single host update
protocol=dyndns2, \
login=my-dyndns.org-login, \
password=my-dyndns.org-password \
myhost.dyndns.org
## multiple host update with wildcard'ing mx, and backupmx
protocol=dyndns2, \
login=my-dyndns.org-login, \
password=my-dyndns.org-password, \
mx=a.host.willing.to.mx.for.me,backupmx=yes,wildcard=yes \
myhost.dyndns.org,my2ndhost.dyndns.org
## multiple host update to the custom DNS service
protocol=dyndns2, \
login=my-dyndns.org-login, \
password=my-dyndns.org-password \
my-toplevel-domain.com,my-other-domain.com
## ddclient-3.8.2
## last updated at Wed Mar 28 16:04:36 2018 (1522253076)
atime=1522253076,backupmx=0,custom=0,host=floehopper.dyndns.org,ip=188.28.159.12,mtime=1522253076,mx=,script=/nic/update,static=0,status=good,warned-min-error-interval=0,warned-min-interval=0,wildcard=0,wtime=0 floehopper.dyndns.org
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
syslog=yes
pid=/var/run/ddclient.pid
use=web
protocol=dyndns2, \
login=jamesmead44, \
password=**** \
floehopper.dyndns.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment