gcloud-dyndns

command module
v0.0.0-...-d6f3639 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

gcloud-dyndns

dyndns-style Google Cloud DNS Updater

Getting Started

This wee utility will update an A record in a DNS zone managed by cloud DNS. Let's kind of assume you have that setup already.

Get yourself a credentials JSON file (or don't if you're just going to run this interactively and you've got the gcloud command all set up). More complete information on how to do this setup is in the README.md for clouddns-sync.

As part of that setup, you'll have a 'project' and 'zone' for the GCP project and DNS zone identifier (this is different than the actual domain name, because of course).

Now, from the network you want to 'do dyndns' from, run something like:

gcloud-dyndns --cloud-project=mycloudproject --cloud-dns-zone=mydnszone --cloud-dns-record-name=hostname.domain.tld.

You can specify --json-keyfile=mykeyfle.json to give a credentials JSON file, and --dry-run if you're a bit scared and want to see what we'd do to your precious dns records.

That's it.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL