安裝 ddns (ddclient on Raspberry Pi)

mingster

This is cheatsheet on ddclient toward google domains.

1. install ddclient

1
2
sudo apt-get install ddclient
sudo apt-get install libio-socket-ssl-perl

2. config

after successful installation of ddclient edit the configuration file at /etc/ddclient.conf in your favorite editor

1
2
3
4
5
6
7
8
9
10
# Configuration file for ddclient generated by debconf #
# /etc/ddclient.conf
ssl=yes
#protocol=dyndns2
protocol=googledomains
use=web
server=domains.google.com
login=googledomaindyndnslogin password='autogeneratedpasswordformgoogle'
your.domain.com
daemon=100

sudo service ddclient restart

DEBUG

1
sudo ddclient -debug -verbose -noquiet