Crates.io | rs-gandi-dns-dynip |
lib.rs | rs-gandi-dns-dynip |
version | 0.1.3 |
source | src |
created_at | 2022-01-09 04:42:53.689358 |
updated_at | 2023-01-12 03:31:04.430456 |
description | Little tool to set an `A` record on a domain registered with Gandi. |
homepage | https://github.com/kingtong/rs-gandi-dns-dynip |
repository | https://github.com/kingtong/rs-gandi-dns-dynip |
max_upload_size | |
id | 510657 |
size | 29,259 |
Little tool to set an A
record on a domain registered with Gandi.
The public IP set for the record is determined with https://www.icanhazip.com/ or by setting it manually from command line or configuration file.
TODO
You can build from source using cargo
and crates.io. If you do not have a Rust compiler installed, go to
rustup.rs to get one. Then you can run cargo install rs-gandi-dns-dynip
and it will
be downloaded from crates.io and then built.
USAGE:
rs-gandi-dns-dynip [OPTIONS]
OPTIONS:
--api-key <API_KEY> [default: ]
--config <CONFIG>
--domain <DOMAIN> [default: ]
-h, --help Print help information
--ip <IP>
--record <RECORD> [default: ]
-V, --version Print version information
The configuration file is a basic JSON file with the following structure:
{
"api_key": "gandi_api_key",
"domain": "domain_name",
"record": "domain_record_name",
"ip": "ip (optional)"
}