From 7cf5d89413a1d7185ed56e6dce889e4590e95106 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Sat, 18 Jul 2026 22:14:33 +0200 Subject: [PATCH] Change README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 94bf6d1..868a326 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,19 @@ managed automatically when zones are added or deleted. | Command | Description | | ------------------- | ------------------------------------------------------ | | `dns-list-zones` | List zones (view, status, managed). | -| `dns-zone-list` | Show the records of a zone. | | `dns-zone-add` | Add a zone (and its catalog member, if configured). | | `dns-zone-delete` | Delete a zone (and its catalog member, if configured). | +| `dns-zone-list` | Show the records of a zone. | | `dns-record-add` | Add a record via DDNS. | | `dns-record-delete` | Delete a record via DDNS. | | `dns-confgen` | Regenerate per-view Bind config and run `rndc reconfig`. | All commands support `--help` for the full list of options. +Commands prompt interactively when arguments are omitted and ask for +confirmation before applying changes. Pass `-b`/`--batch` to require all +arguments and skip prompts for non-interactive use. + ## Usage Zones are addressed as `ZONE[@VIEWS]`, where `VIEWS` is a comma-separated list @@ -59,16 +63,12 @@ unambiguously in the default view. In record names, `@` refers to the zone apex. # List all managed zones dns-list-zones +# Add a zone +dns-zone-add example.tld + # Show the records of a zone dns-zone-list example.tld # Add an A record dns-record-add example.tld www 3600 A 192.0.2.1 - -# Add a zone -dns-zone-add example.tld ``` - -Commands prompt interactively when arguments are omitted and ask for -confirmation before applying changes. Pass `-b`/`--batch` to require all -arguments and skip prompts for non-interactive use.