ddns-scripts: add support for Google Cloud DNS 20018/head
authorChris Barrick <chrisbarrick@google.com>
Sun, 4 Dec 2022 04:00:51 +0000 (23:00 -0500)
committerChris Barrick <cbarrick1@gmail.com>
Fri, 9 Dec 2022 03:04:33 +0000 (22:04 -0500)
commitcbdc67bd107ac8c64f2dc20f742f7171a405e63d
tree2cb928f8234fca7a47603d6644454d185ce962e7
parent02e154d3e56bd35b2db345250c17e41da0edcfa9
ddns-scripts: add support for Google Cloud DNS

The implementation uses a GCP service account. The user is expected to
create and secure a service account and generate a private key. The
"password" field can contain the key inline or be a file path pointing
to the key file on the router.

The GCP project name and Cloud DNS ManagedZone must also be provided.
These are taken as form-urlencoded key-value pairs in param_enc. The TTL
can optionally be supplied in param_opt.

Signed-off-by: Chris Barrick <chrisbarrick@google.com>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/update_gcp_v1.sh [new file with mode: 0755]
net/ddns-scripts/files/usr/share/ddns/default/cloud.google.com-v1.json [new file with mode: 0644]