aboutsummaryrefslogtreecommitdiff
path: root/pdnsutil-update.csh
diff options
context:
space:
mode:
authorMax Christian Pohle2019-11-21 02:24:24 +0100
committerMax Christian Pohle2019-11-21 02:24:24 +0100
commitd75b1edf651a755b6890c8dc85a2571799fe3e8a (patch)
treeef012bc69f532f4b08c44c69b46139e5aa708789 /pdnsutil-update.csh
parent1dcb4c6cc058800d8995bd3489ce840ff07055ec (diff)
downloadpdnsupdate-master.tar.bz2
pdnsupdate-master.zip
Started to add more generic zonesHEADmaster
And added shell files to do the same thing as wsgi, but without network
Diffstat (limited to 'pdnsutil-update.csh')
-rw-r--r--pdnsutil-update.csh8
1 files changed, 8 insertions, 0 deletions
diff --git a/pdnsutil-update.csh b/pdnsutil-update.csh
new file mode 100644
index 0000000..8cc00d1
--- /dev/null
+++ b/pdnsutil-update.csh
@@ -0,0 +1,8 @@
1#!/bin/csh
2set host=$1
3shift
4pdnsutil delete-rrset wire-me.de $host A
5foreach ip ($*)
6 echo "Adding $ip to $host"
7 pdnsutil add-record wire-me.de $host A $ip
8end
..