Я использую Ubuntu 16.04, и он сообщает о наличии DDClient 3.8.2-2ubuntu2. У нас есть домен в доменах Google, и мы добавили синтетическую запись, но пока не достигли успеха в ее обновлении с помощью 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
Этот использует «предпочтительный» метод с DDClient, который поддерживает Google DNS, но похоже, что тот, который включен в 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