Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
14
.bin/OLD/edit-dns
Executable file
14
.bin/OLD/edit-dns
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
ZONE=codevoid.de
|
||||
|
||||
if [ ! -z $1 ]
|
||||
then
|
||||
ZONE=$1
|
||||
fi
|
||||
|
||||
ssh -t dns.codevoid.de \
|
||||
"doas vim /var/nsd/zones/master/$ZONE \
|
||||
&& doas nsd-control reload"
|
||||
|
||||
sleep 2
|
||||
Reference in New Issue
Block a user