diff options
| author | Matt Smith <msmith@alpinelinux.org> | 2011-03-14 19:39:04 +0000 |
|---|---|---|
| committer | Matt Smith <msmith@alpinelinux.org> | 2011-03-14 19:41:16 +0000 |
| commit | 308055d78a64ac0cb8d870f79095cbbca6dedcd3 (patch) | |
| tree | 334cd8d984837eec8595724bbdad2d046950a595 /testing/nsd/nsdc | |
| parent | 4fd3d2a136027fb7051af2c4a11f3d4fd8c20824 (diff) | |
| download | aports-308055d78a64ac0cb8d870f79095cbbca6dedcd3.tar.bz2 aports-308055d78a64ac0cb8d870f79095cbbca6dedcd3.tar.xz | |
testing/nsd: new aport
NSD is an authoritative only, high performance, simple and open source name server.
http://www.nlnetlabs.nl/projects/nsd/
Diffstat (limited to 'testing/nsd/nsdc')
| -rw-r--r-- | testing/nsd/nsdc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/nsd/nsdc b/testing/nsd/nsdc new file mode 100644 index 000000000..ff4cb5c6b --- /dev/null +++ b/testing/nsd/nsdc @@ -0,0 +1,30 @@ +#!/bin/sh +# +# nsdc replacement script by Matt Smith <msmith@alpinelinux.org> +# + +usage() { + echo "Usage: `basename $0` {start|stop|reload|rebuild|restart|" + echo " running|update|notify|patch}" + echo "commands:" + echo " start Start nsd server." + echo " stop Stop nsd server." + echo " reload Nsd server reloads database file." + echo " rebuild Compile database file from zone files." + echo " restart Stop the nsd server and start it again." + echo " running Prints message and exit nonzero if server not running." + echo " update Try to update all slave zones hosted on this server." + echo " notify Send notify messages to all secondary servers." + echo " patch Merge zone transfer changes back to zone files." +} + +if [ $# -eq 0 ]; then + usage +else + case "$1" in + "-h"|"--help") + usage;; + *) + /etc/init.d/nsd $* + esac +fi |
