/record-syncer

Sync from etcd (used by CoreDNS) to Google CloudDNS

Primary LanguageGoMIT LicenseMIT

record-syncer

record-syncer syncs from etcd (used by CoreDNS) to Google CloudDNS.

Motivation

Want to register pairs of home domains (managed by internal CoreDNS) and home's global address to Google CloudDNS as A record.

Usage

  • example of execution
record-syncer --filter-file example.yml \
  --etcd-endpoint=http://localhost:2379 --etcd-base-path=/skydns \
  --gcp-credential=/tmp/credential.json --gcp-project ${GCP_PROJECT} --gcp-dns-managed-zone ${MANAGED_ZONE}