wagon/back/lib/ns/update/send

9 lines
230 B
Plaintext
Raw Normal View History

2022-08-29 01:04:37 -06:00
#!/bin/bash
# FILE: wgapi:back/lib/ns/update/send
# DESCRIPTION: Send stuff to the nsupdate server
# USAGE: send cmd
source ../../../env/vars
printf "server ${DNS_MASTER}\n${1}\nsend\n" \
| nsupdate -y "${DNS_KEY}"