diff options
| author | Hayden Hamilton <hayden@hhvn.uk> | 2026-05-25 16:48:26 +0100 |
|---|---|---|
| committer | Hayden Hamilton <hayden@hhvn.uk> | 2026-05-25 16:48:26 +0100 |
| commit | 22a4fd1d395905950fdd307b41b8b8ab4167e130 (patch) | |
| tree | a13c2ecb7c681a5f236a35cd5fc5fe4f503b869c /dns/zone/reload | |
| parent | 2fcee6b97111059f771f3e7e90ce93cae424f00d (diff) | |
Create quick way to edit dns zone(s)
Diffstat (limited to 'dns/zone/reload')
| -rwxr-xr-x | dns/zone/reload | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dns/zone/reload b/dns/zone/reload new file mode 100755 index 0000000..bef6a0a --- /dev/null +++ b/dns/zone/reload @@ -0,0 +1,6 @@ +#!/bin/rc + +zone = $1 +zonefile = $2 + +doas nsd-checkzone $zone $zonefile && doas nsd-control reload $zone |