name: haeredes
-version: 0.4.5
+version: 0.5.1
cabal-version: >= 1.8
author: Michael Orlitzky
maintainer: Michael Orlitzky <michael@orlitzky.com>
build-type: Simple
extra-source-files:
doc/man1/haeredes.1
+ test/shell/*.test
synopsis:
Confirm delegation of NS and MX records.
description:
soon as the MX record is changed.
.
Haeredes can alert administrators when NS/MX records are changed. More
- detail can be found in the man page.
+ detail and usage examples can be found in the man page.
.
/Examples/:
.
[ab].iana-servers.net:
.
@
- $ haeredes a.iana-servers.net b.iana-servers.net <<< \"example.com\"
- @
- .
- If you use --no-append-root and your nameservers are rooted, you
- must remember to supply the trailing dot yourself. Otherwise, you'll
- get false positives.
- .
- @
- $ haeredes --no-append-root \
-   a.iana-servers.net b.iana-servers.net \
-   <<< \"example.com\"
- Domain \"example.com\" delegates somewhere else: \"b.iana-servers.net.\" \"a.iana-servers.net.\"
- @
- .
- Check orlitzky.com against the expected name servers, using
- d.gtld-servers.net:
- .
- @
- $ haeredes --server 199.7.91.13 dns1.viabit.com dns2.viabit.com \
-   <<< \"orlitzky.com\"
+ $ echo \"example.com\" | haeredes a.iana-servers.net b.iana-servers.net
@
.
Check orlitzky.com against only one of the expected two nameservers:
.
@
- $ haeredes dns1.viabit.com <<< \"orlitzky.com\"
+ $ echo \"orlitzky.com\" | haeredes dns1.viabit.com
Domain \"orlitzky.com.\" delegates somewhere else: \"dns2.viabit.com.\"
@
.
Check a nonexistent domain (we provide no delegates, since we
- know .bar will not be delegated):
+ know .doesnt-exist will not be delegated):
.
@
- $ haeredes <<< \"foo.bar\"
- Domain \"foo.bar.\" not delegated.
+ $ echo \"foo.doesnt-exist\" | haeredes
+ Domain \"foo.doesnt-exist.\" not delegated.
@
executable haeredes
-optc-O3
-optc-march=native
+
+-- These won't work without shelltestrunner installed in your
+-- $PATH. Maybe there is some way to tell Cabal that.
+test-suite shelltests
+ type: exitcode-stdio-1.0
+ hs-source-dirs: test
+ main-is: ShellTests.hs
+
+ build-depends:
+ base == 4.*,
+ bytestring >= 0.10,
+ cmdargs >= 0.10,
+ dns >= 1.4,
+ iproute >= 1.2,
+ parallel-io >= 0.3,
+ process >= 1.1
+
+ -- It's not entirely clear to me why I have to reproduce all of this.
+ ghc-options:
+ -Weverything
+ -Wno-implicit-prelude
+ -Wno-safe
+ -Wno-unsafe
+ -Wno-all-missed-specialisations
+ -rtsopts
+ -threaded
+ -optc-O3
+ -optc-march=native
+
+
source-repository head
type: git
location: http://gitweb.michael.orlitzky.com/haeredes.git