]> gitweb.michael.orlitzky.com - haeredes.git/blob - haeredes.cabal
Add missing period.
[haeredes.git] / haeredes.cabal
1 name: haeredes
2 version: 0.0
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 license: GPL-3
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/haeredes.php
9 bug-reports: mailto:michael@orlitzky.com
10 category: DNS, Utils
11 build-type: Simple
12 extra-source-files:
13 doc/man1/haeredes.1
14 synopsis:
15 Confirm delegation of NS and MX records.
16 description:
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:
20 .
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
25 question.
26 .
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.
34 .
35 Haeredes can alert administrators when NS/MX records are changed.
36 .
37 /Examples/:
38 .
39 Make sure example.com has the expected name servers,
40 [ab].iana-servers.net:
41 .
42 @
43 $ haeredes a.iana-servers.net b.iana-servers.net <<< \"example.com\"
44 @
45 .
46 Check orlitzky.com against the expected name servers, using
47 d.gtld-servers.net:
48 .
49 @
50 $ haeredes --server 199.7.91.13 dns1.viabit.com dns2.viabit.com \
51 &#x20; <<< \"orlitzky.com\"
52 @
53 .
54 Check orlitzky.com against only one of the expected two nameservers:
55 .
56 @
57 $ haeredes dns1.viabit.com <<< \"orlitzky.com\"
58 Domain \"orlitzky.com.\" delegates somewhere else: \"dns2.viabit.com.\"
59 @
60 .
61 Check a nonexistent domain (we provide no delegates, since we
62 know .invalid will not be delegated):
63 .
64 @
65 $ haeredes <<< \"example.invalid\"
66 Domain \"example.invalid.\" not delegated.
67 @
68
69 executable haeredes
70 build-depends:
71 base == 4.*,
72 bytestring == 0.10.*,
73 cmdargs == 0.10.*,
74 dns >= 0.3.7,
75 MissingH == 1.2.*,
76 parallel-io == 0.3.*
77
78 main-is:
79 Main.hs
80
81 hs-source-dirs:
82 src/
83
84 other-modules:
85 CommandLine
86 DNS
87
88 ghc-options:
89 -Wall
90 -fwarn-hi-shadowing
91 -fwarn-missing-signatures
92 -fwarn-name-shadowing
93 -fwarn-orphans
94 -fwarn-type-defaults
95 -fwarn-tabs
96 -fwarn-incomplete-record-updates
97 -fwarn-monomorphism-restriction
98 -fwarn-unused-do-bind
99 -rtsopts
100 -threaded
101 -optc-O3
102 -optc-march=native
103
104 source-repository head
105 type: git
106 location: http://michael.orlitzky.com/git/haeredes.git
107 branch: master