diff options
Diffstat (limited to 'pdnsutil-update.csh')
-rw-r--r-- | pdnsutil-update.csh | 8 |
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 | ||
2 | set host=$1 | ||
3 | shift | ||
4 | pdnsutil delete-rrset wire-me.de $host A | ||
5 | foreach ip ($*) | ||
6 | echo "Adding $ip to $host" | ||
7 | pdnsutil add-record wire-me.de $host A $ip | ||
8 | end | ||