Page MenuHomePhabricator

dynamic dns cloudflare protocol deprecated
Open, LowPublicBUG


I've been trying to get cloudflare dynamic DNS to work on a new VyOS installation. To troubleshoot I ran ddclient direct with debug messaging and got the following result.

RECEIVE:  HTTP/1.1 410 Gone
RECEIVE:  Date: Tue, 20 Nov 2018 21:40:57 GMT
RECEIVE:  Content-Type: text/html
RECEIVE:  Connection: close
RECEIVE:  Set-Cookie: __cfduid=d53c907651da69ff19bfc787be4f74ac11542750057; expires=Wed, 20-Nov-19 21:40:57 GMT; path=/;; HttpOnly
RECEIVE:  Cache-Control: public, max-age=31536000
RECEIVE:  Set-Cookie: __cflb=1594113181; path=/; expires=Wed, 21-Nov-18 20:40:57 GMT
RECEIVE:  Strict-Transport-Security: max-age=15780000; includeSubDomains
RECEIVE:  Expect-CT: max-age=604800, report-uri=""
RECEIVE:  Server: cloudflare
RECEIVE:  CF-RAY: 47ce13f459c8ab90-YYZ
RECEIVE:  This API has been deprecated in favor of API v4, available at

It appears the ddclient version used in VyOS (latest rolling version) does not support the current CloudFlare API.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

artooro created this task.Nov 20 2018, 9:48 PM

ddclient version 3.8.2 is currently include with VyOS which is 2 versions behind. Latest is 3.9.0 which has the required fixes.

syncer assigned this task to dmbaturin.Dec 1 2018, 5:51 PM
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.2 Crux ( VyOS 1.2.0-rc11); removed VyOS 1.2 Crux.
syncer added subscribers: dmbaturin, syncer.

@dmbaturin can we bump the version of this

pasik added a subscriber: pasik.Dec 16 2018, 11:22 AM
syncer lowered the priority of this task from Normal to Low.Feb 5 2019, 2:28 PM

I've tried upgrade version from 3.8.2 to 3.9.0 by replacing the ddclient executable (downloadable from the official site) in /usr/sbin/ddclient
This version needs also the libdata-validate-ip-perl package installed.
After that, reload the configuration and it works.