#!/bin/bash # FILE: wagon:back/lib/ns/update/send # DESCRIPTION: Send stuff to the nsupdate server # USAGE: send cmd source /etc/wagon/config printf 'server %s\n%s\nsend\n' "${DNS_MASTER}" "${1}" \ | nsupdate -y "${DNS_KEY}" | tee >(cat 1>&2)