Google 도메인 용 DDclient DyDNS 구성

OS/Linux 2019.01.26 11:13 Posted by 파란크리스마스

출처

DDclient 설치

$ sudo apt-get update
$ sudo apt-get install ddclient

DDclient 설정

$ sudo vi /etc/ddclient.conf

ddclient.conf 내용

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

ssl=yes
#protocol=dyndns2
protocol=googledomains
use=web
server=domains.google.com
login=XXXXXXXXXXXXXXXXXXXXXXX
password='XXXXXXXXXXXXXXXXXXXXXXX'
www.XXXXXXXX.biz
daemon=100

DDclient 데몬 설정

$ sudo vi /etc/default/ddclient

ddclient 내용

run_daemon="true"
daemon_interval="300"

DDclient 서비스 등록

$ sudo systemctl enable ddclient
ddclient.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ddclient
$ sudo systemctl start ddclient
$ sudo systemctl status ddclient
● ddclient.service - LSB: Update dynamic domain name service entries
   Loaded: loaded (/etc/init.d/ddclient; generated)
   Active: active (running) since Wed 2019-01-23 00:28:19 KST; 11min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/ddclient.service
           └─1219 ddclient - sleeping for 250 seconds
 
 1월 23 00:28:19 bluesanta-desktop systemd[1]: Starting LSB: Update dynamic domain name service entries...
 1월 23 00:28:19 bluesanta-desktop systemd[1]: Started LSB: Update dynamic domain name service entries.