Embryonic IPv6 support.
[adns] / INSTALL
CommitLineData
95ecb688 1INSTALLATION INSTRUCTIONS for ADNS
2
2b61beb8 31. Read the security note below.
4
52. Standard GNU package build process:
95ecb688 6 $ ./configure
7 $ make
8 # make install
9
10Unfortunately, since this is a beta, there is no good documentation
11yet. For now, use the comments in the public header file adns.h.
12
13
14You will find that adns requires a reasonably standard and up to date
15system.
16
17In particular, the build system assumes that you have ELF shared
18libraries. If you don't then please don't send me patches to support
19your kind of shared libraries, and don't send me patches to use
20libtool. I'm not interested in supporting non-ELF shared libraries.
21However, if you send me an appropriate patch I'd be willing to make it
22easy or automatic to disable the ELF shared library arrangements.
23
9a09fa18 24The adnsresfilter utility uses `tsearch' from the C library (a la SVID
25and X/Open). If your C library doesn't have tsearch you will find
26that configure arranges for adnsresfilter not to be built. To rectify
27this, install a C library containing tsearch, such as the GNU C
28library. It is best if tsearch uses an automatically-balancing tree
29algorithm, like the glibc version does. Simple binary trees may
30perform badly.
31
e39ec089 32You will probably find that GNU Make is required.
95ecb688 33
34
0d417fc2 35IPv6 SUPPORT
36
37If you build adns on a system without a definition for AF_INET6 in
38<netinet/in.h>, you will (probably) still be able to do lookups for
39IPv6 addresses, etc. However, adns will do this by including the
40header file adns-in6fake.h, which contains definitions of various
41IPv6-related structures (those in RFC2133) which I have just made up.
42They may not be the same as those which a later version of your system
43actually includes, which means that the versions of adns built
44before and after IPv6 support on your platform might not be binary
45compatible - EVEN FOR PROGRAMS WHICH DO NOT DO IPv6 LOOKUPS !
46
47On platforms with a `sa_len' field this feature will not work
48properly.
49
50
2b61beb8 51SECURITY AND PERFORMANCE - AN IMPORTANT NOTE
52
53adns is not a full-service resolver. It does no caching of responses
54at all, and has no defence against bad nameservers or fake packets
55which appear to come from your real nameservers. It relies on the
56full-service resolvers listed in resolv.conf to handle these tasks.
57
58For secure and reasonable operation you MUST run a full-service
59nameserver on the same system as your adns applications, or on the
60same local, fully trusted network. You MUST only list such
61nameservers in the adns configuration (eg resolv.conf).
62
63You MUST use a firewall or other means to block packets which appear
64to come from these nameservers, but which were actually sent by other,
65untrusted, entities.
66
67Furthermore, adns is not DNSSEC-aware in this version; it doesn't
68understand even how to ask a DNSSEC-aware nameserver to perform the
69DNSSEC cryptographic signature checking.
70
71
95ecb688 72COPYRIGHT
73
74This file, INSTALL, contains installation instructions and other
75details for adns.
76
d942707d 77adns is
d0bed398 78 Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
79 Copyright (C) 1999 Tony Finch <dot@dotat.at> [1]
80 Copyright (C) 1991 Massachusetts Institute of Technology [2]
95ecb688 81
82adns is free software; you can redistribute it and/or modify it under
83the terms of the GNU General Public License as published by the Free
84Software Foundation; either version 2 of the License, or (at your
85option) any later version.
86
87This program is distributed in the hope that it will be useful, but
88WITHOUT ANY WARRANTY; without even the implied warranty of
89MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
90General Public License for more details.
91
92You should have received a copy of the GNU General Public License
93along with userv as the file COPYING; if not, email me at the address
94above or write to the Free Software Foundation, 59 Temple Place -
95Suite 330, Boston, MA 02111-1307, USA.
9a09fa18 96
d0bed398 97[1] Tony Finch holds the original copyright on
98 client/adnslogres.c and client/fanftest.c.
99[2] MIT hold the original copyright on the included install-sh,
100 which came via GNU autoconf.
101
9a09fa18 102# Local variables:
103# mode: text
104# End: