vi /etc/ddclient.conf
daemon=300 #300秒毎にチェックする syslog=yes mail=root mail-failure=root pid=/var/run/ddclient.pid ssl=yes ## ## Google Domains (www.google.com/domains) ## use=web protocol=googledomains, login=<ログイン名>, password=<パスワード> <ドメイン名>
稼働確認
ddclient -daemon=0 -debug -verbose -noquiet
RECEIVE: HTTP/1.1 200 OK RECEIVE: Content-Type: text/html RECEIVE: Server: DynDNS-CheckIP/1.0.1 RECEIVE: Connection: close RECEIVE: Cache-Control: no-cache RECEIVE: Pragma: no-cache RECEIVE: Content-Length: 105 RECEIVE: RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 180.38.69.146</body></html> DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports 180.38.69.146 SUCCESS: <ドメイン名>: skipped: IP address was already set to 180.38.69.146. root@intel-nuc:/etc/ddclient#
コメント