4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/haeredes.php
9 bug-reports: mailto:michael@orlitzky.com
15 Confirm delegation of NS and MX records.
17 Haeredes is primarily useful for ISP network administrators.
18 Customers will occasionally decide to switch hosts without alerting
19 the current host; this can cause two problems:
21 * With NS records, the previous host (at the very least) keeps
22 hosting a DNS zone that does nothing. If that host uses their
23 authoritative nameserver as a caching lookup server as well, it
24 may return incorrect results to queries about the domain in
27 * For MX records, the situation is slightly worse. Most mail servers
28 will immediately accept mail for which the server thinks it is the
29 ultimate destination. If a mail server is configured as the
30 destination for a domain, but it is not the MX for that domain,
31 then mail submitted to that server may possibly be lost. It is
32 therefore important to remove domains from the old mail host as
33 soon as the MX record is changed.
35 Haeredes can alert administrators when NS/MX records are changed. More
36 detail can be found in the man page.
40 Make sure example.com has the expected name servers,
41 [ab].iana-servers.net:
44 $ haeredes a.iana-servers.net b.iana-servers.net <<< \"example.com\"
47 If you use --no-append-root and your nameservers are rooted, you
48 must remember to supply the trailing dot yourself. Otherwise, you'll
52 $ haeredes --no-append-root \
53   a.iana-servers.net b.iana-servers.net \
54   <<< \"example.com\"
55 Domain \"example.com\" delegates somewhere else: \"b.iana-servers.net.\" \"a.iana-servers.net.\"
58 Check orlitzky.com against the expected name servers, using
62 $ haeredes --server 199.7.91.13 dns1.viabit.com dns2.viabit.com \
63   <<< \"orlitzky.com\"
66 Check orlitzky.com against only one of the expected two nameservers:
69 $ haeredes dns1.viabit.com <<< \"orlitzky.com\"
70 Domain \"orlitzky.com.\" delegates somewhere else: \"dns2.viabit.com.\"
73 Check a nonexistent domain (we provide no delegates, since we
74 know .invalid will not be delegated):
77 $ haeredes <<< \"example.invalid\"
78 Domain \"example.invalid.\" not delegated.
93 test-framework == 0.8.*,
94 test-framework-hunit == 0.3.*,
95 test-framework-quickcheck2 == 0.3.*
111 -fwarn-missing-signatures
112 -fwarn-name-shadowing
116 -fwarn-incomplete-record-updates
117 -fwarn-monomorphism-restriction
118 -fwarn-unused-do-bind
125 type: exitcode-stdio-1.0
126 hs-source-dirs: src test
127 main-is: TestSuite.hs
130 bytestring == 0.10.*,
135 parallel-io == 0.3.*,
139 test-framework == 0.8.*,
140 test-framework-hunit == 0.3.*,
141 test-framework-quickcheck2 == 0.3.*
143 -- It's not entirely clear to me why I have to reproduce all of this.
147 -fwarn-missing-signatures
148 -fwarn-name-shadowing
152 -fwarn-incomplete-record-updates
153 -fwarn-monomorphism-restriction
154 -fwarn-unused-do-bind
161 type: exitcode-stdio-1.0
166 -- Additional test dependencies.
170 -- It's not entirely clear to me why I have to reproduce all of this.
174 -fwarn-missing-signatures
175 -fwarn-name-shadowing
179 -fwarn-incomplete-record-updates
180 -fwarn-monomorphism-restriction
181 -fwarn-unused-do-bind
187 source-repository head
189 location: http://michael.orlitzky.com/git/haeredes.git