DDClinet Google 域名

DDClinet Google 域名

我在 Ubuntu 16.04 上,它报告有 DDClient 3.8.2-2ubuntu2。我们在 google domains 中拥有一个域名,并添加了合成记录,但到目前为止,通过 DDClient 更新它没有成功。有人知道出了什么问题吗?你能分享一个可行的示例吗?我正在复制和粘贴用户名、密码和域名,这样就不会出现拼写错误。

第一个错误听起来好像找不到提到的 A 记录,但我确信它存在。

CONNECT:  domains.google.com
CONNECTED:  using SSL
SENDING:  GET /nic/update?system=dyndns&hostname=name.example.com&myip=numbers HTTP/1.0
SENDING:   Host: domains.google.com
SENDING:   Authorization: Basic infostuffher
SENDING:   User-Agent: ddclient/3.8.2
SENDING:   Connection: close
SENDING:
RECEIVE:  HTTP/1.0 200 OK
RECEIVE:  Strict-Transport-Security: max-age=31536000; includeSubDomains
RECEIVE:  Content-Type: text/plain; charset=utf-8
RECEIVE:  P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
RECEIVE:  Date: Mon, 07 May 2018 14:47:26 GMT
RECEIVE:  Expires: Mon, 07 May 2018 14:47:26 GMT
RECEIVE:  Cache-Control: private, max-age=0
RECEIVE:  X-Content-Type-Options: nosniff
RECEIVE:  X-Frame-Options: SAMEORIGIN
RECEIVE:  X-XSS-Protection: 1; mode=block
RECEIVE:  Server: GSE
RECEIVE:  Set-Cookie: NID=129=hash;Domain=.google.com;Path=/;Expires=Tue, 06-Nov-2018 14:47:26 GMT;HttpOnly
RECEIVE:  Alt-Svc: hq=":443"; ma=2592000; quic=51303433; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="43,42,41,39,35"
RECEIVE:  Accept-Ranges: none
RECEIVE:  Vary: Accept-Encoding
RECEIVE:
RECEIVE:  nohost
FAILED:   updating name.example.com: nohost: The hostname specified does not exist in the database
file /etc/ddclient.conf, line 11: Invalid Value for keyword 'protocol' = 'googledomains'
file /etc/ddclient.conf, line 11: Invalid Value for keyword 'protocol' = 'googledomains'
file /etc/ddclient.conf, line 11: Invalid Value for keyword 'protocol' = 'googledomains'
unable to determine IP address

上述配置

# Configuration file for ddclient
#
# /etc/ddclient.conf

# service and lookup
daemon=900
verbose=yes

# google account info
ssl=yes
protocol=googledomains
login=login
password=password
name.example.com

这个使用支持 google DNS 的 DDClient 的“首选”方法,但听起来 Ubuntu 16.04 中包含的方法不支持?为什么不行?

 CONNECT:  domains.google.com
 CONNECTED:  using SSL
 SENDING:  GET /nic/update?system=dyndns&hostname=name.example.com&myip=somenumbers HTTP/1.0
 SENDING:   Host: domains.google.com
 SENDING:   Authorization: Basic 
 SENDING:   User-Agent: ddclient/3.8.2
 SENDING:   Connection: close
 SENDING:
 RECEIVE:  HTTP/1.0 200 OK
 RECEIVE:  Strict-Transport-Security: max-age=31536000; includeSubDomains
 RECEIVE:  Content-Type: text/plain; charset=utf-8
 RECEIVE:  P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
 RECEIVE:  Date: Mon, 07 May 2018 14:47:26 GMT
 RECEIVE:  Expires: Mon, 07 May 2018 14:47:26 GMT
 RECEIVE:  Cache-Control: private, max-age=0
 RECEIVE:  X-Content-Type-Options: nosniff
 RECEIVE:  X-Frame-Options: SAMEORIGIN
 RECEIVE:  X-XSS-Protection: 1; mode=block
 RECEIVE:  Server: GSE
 RECEIVE:  Set-Cookie: NID=129=bunchofnumbers;Domain=.google.com;Path=/;Expires=Tue, 06-Nov-2018 14:47:26 GMT;HttpOnly
 RECEIVE:  Alt-Svc: hq=":443"; ma=2592000; quic=51303433; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="43,42,41,39,35"
 RECEIVE:  Accept-Ranges: none
 RECEIVE:  Vary: Accept-Encoding
 RECEIVE:
 RECEIVE:  nohost
 FAILED:   updating name.example.com: nohost: The hostname specified does not exist in the database  

上述配置文件

# Configuration file for ddclient
#
# /etc/ddclient.conf

# service and lookup
daemon=900
verbose=yes

# google account info
protocol=dyndns2
use=web
server=domains.google.com
ssl=yes
login=login
password=password
name.example.com

相关内容