go-dns-client

module
v0.0.0-...-0b60d17 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0

README

go-dns-client

Run

$ go run cmd/dns-client/main.go --help
-action string
        Action to execute (CREATE/UPSERT/DELETE). (default "CREATE")
-hosted-zone-id string
        HostedZone ID.
-record-set-name string
        RecordSet name.
-record-set-value string
        RecordSet value.
-ttl int
        TTL in seconds. (default 60)

Docker

Build
$ docker image build -t dns-client .
Run
$ docker run -v $HOME/.aws/credentials:/root/.aws/credentials:ro dns-client \
    -hosted-zone-id <hosted-zone-id> \
    -record-set-name <record-set-name> \
    -record-set-value <record-set-value>

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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