Change README.md

This commit is contained in:
2026-07-18 22:14:33 +02:00
parent 08a18d39ab
commit 7cf5d89413
+8 -8
View File
@@ -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.