desec_cli

Crates.iodesec_cli
lib.rsdesec_cli
version0.1.4
sourcesrc
created_at2024-05-04 16:37:15.426281
updated_at2024-09-26 12:40:21.363871
descriptionCommandline client for the deSEC DNS API
homepage
repositoryhttps://github.com/andreas-bruckmeier/desec_cli
max_upload_size
id1229700
size67,405
Andreas Bruckmeier (andreas-bruckmeier)

documentation

https://docs.rs/desec_cli

README

deSEC Client

Commandline client for the deSEC DNS API.

deSEC is a free DNS hosting service, designed with security in mind. Running on open-source software and supported by SSE, deSEC is free for everyone to use.

Examples

Usage dialog

Usage: desec_cli [OPTIONS] <COMMAND>

Commands:
  account  Manage account or create a new one
  domain   Manage domains
  rrset    Manage Resource Record Sets
  token    Manage Token
  policy   Manage Token Policies
  help     Print this message or the help of the given subcommand(s)

Options:
  -q, --quiet                      Error messages are suppressed
      --no-retry                   Whether to disable retry of throttled requests which would incure sleeps
      --max-wait <MAX_WAIT>        Maximum time to wait between retries of throttled requests
      --max-retries <MAX_RETRIES>  Maximum number of retries per request
  -h, --help                       Print help

Create new domain

desec_cli domain create desec_cli.com | jq
{
  "created": "2024-05-04T16:24:28.660313Z",
  "keys": [
    {
      "dnskey": "...",
      "ds": [
        "...",
        "..."
      ],
      "flags": 257,
      "keytype": "csk",
      "managed": true
    }
  ],
  "minimum_ttl": 3600,
  "name": "desec_cli.com",
  "published": null,
  "touched": "2024-05-04T16:24:29.126251Z",
  "zonefile": null
}

List domains

desec_cli domain list | jq
[
  {
    "created": "2024-05-04T16:24:28.660313Z",
    "keys": null,
    "minimum_ttl": 3600,
    "name": "desec_cli.com",
    "published": "2024-05-04T16:24:29.155983Z",
    "touched": "2024-05-04T16:24:29.155983Z",
    "zonefile": null
  },
  ...
]

License

See LICENSE-MIT for details.

Commit count: 29

cargo fmt