4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/haeredes.xhtml
9 bug-reports: mailto:michael@orlitzky.com
16 Confirm delegation of NS and MX records.
18 Haeredes is primarily useful for ISP network administrators.
19 Customers will occasionally decide to switch hosts without alerting
20 the current host; this can cause two problems:
22 * With NS records, the previous host (at the very least) keeps
23 hosting a DNS zone that does nothing. If that host uses their
24 authoritative nameserver as a caching lookup server as well, it
25 may return incorrect results to queries about the domain in
28 * For MX records, the situation is slightly worse. Most mail servers
29 will immediately accept mail for which the server thinks it is the
30 ultimate destination. If a mail server is configured as the
31 destination for a domain, but it is not the MX for that domain,
32 then mail submitted to that server may possibly be lost. It is
33 therefore important to remove domains from the old mail host as
34 soon as the MX record is changed.
36 Haeredes can alert administrators when NS/MX records are changed. More
37 detail can be found in the man page.
41 Make sure example.com has the expected name servers,
42 [ab].iana-servers.net:
45 $ haeredes a.iana-servers.net b.iana-servers.net <<< \"example.com\"
48 If you use --no-append-root and your nameservers are rooted, you
49 must remember to supply the trailing dot yourself. Otherwise, you'll
53 $ haeredes --no-append-root \
54   a.iana-servers.net b.iana-servers.net \
55   <<< \"example.com\"
56 Domain \"example.com\" delegates somewhere else: \"b.iana-servers.net.\" \"a.iana-servers.net.\"
59 Check orlitzky.com against the expected name servers, using
63 $ haeredes --server 199.7.91.13 dns1.viabit.com dns2.viabit.com \
64   <<< \"orlitzky.com\"
67 Check orlitzky.com against only one of the expected two nameservers:
70 $ haeredes dns1.viabit.com <<< \"orlitzky.com\"
71 Domain \"orlitzky.com.\" delegates somewhere else: \"dns2.viabit.com.\"
74 Check a nonexistent domain (we provide no delegates, since we
75 know .bar will not be delegated):
78 $ haeredes <<< \"foo.bar\"
79 Domain \"foo.bar.\" not delegated.
101 -- WARNING: the Paths_haeredes module is automatically generated by
102 -- Cabal itself. We don't want it included in the release tarballs,
103 -- since we typically want the paths that the user has configured.
104 -- Nevertheless, Cabal will complain if we don't include it here.
110 -Wno-implicit-prelude
113 -Wno-all-missed-specialisations
121 type: exitcode-stdio-1.0
126 -- Additional test dependencies.
130 -- It's not entirely clear to me why I have to reproduce all of this.
133 -Wno-implicit-prelude
136 -Wno-all-missed-specialisations
143 -- These won't work without shelltestrunner installed in your
144 -- $PATH. Maybe there is some way to tell Cabal that.
145 test-suite shelltests
146 type: exitcode-stdio-1.0
148 main-is: ShellTests.hs
159 -- It's not entirely clear to me why I have to reproduce all of this.
162 -Wno-implicit-prelude
165 -Wno-all-missed-specialisations
172 source-repository head
174 location: http://gitweb.michael.orlitzky.com/haeredes.git