aboutsummaryrefslogtreecommitdiff
path: root/pdnsutil-update.csh
diff options
context:
space:
mode:
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
..