Change README.md
This commit is contained in:
@@ -40,15 +40,19 @@ managed automatically when zones are added or deleted.
|
|||||||
| Command | Description |
|
| Command | Description |
|
||||||
| ------------------- | ------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------------ |
|
||||||
| `dns-list-zones` | List zones (view, status, managed). |
|
| `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-add` | Add a zone (and its catalog member, if configured). |
|
||||||
| `dns-zone-delete` | Delete 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-add` | Add a record via DDNS. |
|
||||||
| `dns-record-delete` | Delete a record via DDNS. |
|
| `dns-record-delete` | Delete a record via DDNS. |
|
||||||
| `dns-confgen` | Regenerate per-view Bind config and run `rndc reconfig`. |
|
| `dns-confgen` | Regenerate per-view Bind config and run `rndc reconfig`. |
|
||||||
|
|
||||||
All commands support `--help` for the full list of options.
|
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
|
## Usage
|
||||||
|
|
||||||
Zones are addressed as `ZONE[@VIEWS]`, where `VIEWS` is a comma-separated list
|
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
|
# List all managed zones
|
||||||
dns-list-zones
|
dns-list-zones
|
||||||
|
|
||||||
|
# Add a zone
|
||||||
|
dns-zone-add example.tld
|
||||||
|
|
||||||
# Show the records of a zone
|
# Show the records of a zone
|
||||||
dns-zone-list example.tld
|
dns-zone-list example.tld
|
||||||
|
|
||||||
# Add an A record
|
# Add an A record
|
||||||
dns-record-add example.tld www 3600 A 192.0.2.1
|
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.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user