chiark / gitweb /
@@ -16,6 +16,7 @@
[adns] / INSTALL
CommitLineData
44d8654a 1INSTALLATION INSTRUCTIONS for ADNS
2
3458e07e 31. Read the security note below.
4
52. Standard GNU package build process:
44d8654a 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
96175025 17The following platforms have been tested at at least some point and
18should work - please report if they don't:
19 [adns] OS
49972772 20 1.0 Linux glibc 2.1 (actually tested on Debian 2.2).
799508d2 21
49972772 22 1.0 Solaris 2.6, 2.7, 2.8
799508d2 23 1.0 FreeBSD 3.2, 4.0 (no poll(2), so no adnsresfilter)
24These appear to work, but only with --disable-dynamic:
25 1.0 IRIX 6.5 *not* with GCC [1], [2]
26 1.0 AIX 4.1.5
49972772 27 1.0 HP-UX 10.20, 11.00
799508d2 28
96175025 29Later versions of the same OS should work too. [adns] is the latest
30version of adns that has been tested. Usually entries in this table
799508d2 31mean they pass adns's own regression test, when compiled with GCC,
32and appear to install and run correctly. Notes/known problems:
96175025 33 [1] IRIX 6.5 inet_ntoa seems to break with GCC.
49972772 34 [2] Many spurious warnings from this platform's native compiler.
96175025 35
36The following platforms are known to be deficient and will not work:
c7340170 37 Solaris 2.5 Lacks vsnprintf - install glibc ?
38 TruUnix64 (DEC UNIX 4.0f) Lacks vsnprintf - install glibc ?
96175025 39Please don't report these problems unless you have a nice,
40straightforward solution or workaround for them.
41
44d8654a 42In particular, the build system assumes that you have ELF shared
43libraries. If you don't then please don't send me patches to support
44your kind of shared libraries, and don't send me patches to use
5ae7928d 45libtool. I'm not interested in supporting non-ELF shared libraries,
46and I dislike libtool. If you do not have ELF shared libraries then
47please use the --disable-shared configure option.
44d8654a 48
87ad5851 49The adnsresfilter utility uses `tsearch' from the C library (a la SVID
50and X/Open). If your C library doesn't have tsearch you will find
51that configure arranges for adnsresfilter not to be built. To rectify
52this, install a C library containing tsearch, such as the GNU C
53library. It is best if tsearch uses an automatically-balancing tree
54algorithm, like the glibc version does. Simple binary trees may
55perform badly.
56
b0fe3d92 57You will probably find that GNU Make is required.
44d8654a 58
59
3458e07e 60SECURITY AND PERFORMANCE - AN IMPORTANT NOTE
61
62adns is not a full-service resolver. It does no caching of responses
63at all, and has no defence against bad nameservers or fake packets
64which appear to come from your real nameservers. It relies on the
65full-service resolvers listed in resolv.conf to handle these tasks.
66
67For secure and reasonable operation you MUST run a full-service
68nameserver on the same system as your adns applications, or on the
69same local, fully trusted network. You MUST only list such
70nameservers in the adns configuration (eg resolv.conf).
71
72You MUST use a firewall or other means to block packets which appear
73to come from these nameservers, but which were actually sent by other,
74untrusted, entities.
75
76Furthermore, adns is not DNSSEC-aware in this version; it doesn't
77understand even how to ask a DNSSEC-aware nameserver to perform the
78DNSSEC cryptographic signature checking.
79
80
44d8654a 81COPYRIGHT
82
83This file, INSTALL, contains installation instructions and other
89435c42 84details for adns. It is
85 Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
44d8654a 86
a79ac5ba 87adns is
acff310d 88 Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
89 Copyright (C) 1999 Tony Finch <dot@dotat.at> [1]
90 Copyright (C) 1991 Massachusetts Institute of Technology [2]
44d8654a 91
92adns is free software; you can redistribute it and/or modify it under
93the terms of the GNU General Public License as published by the Free
94Software Foundation; either version 2 of the License, or (at your
95option) any later version.
96
97This program is distributed in the hope that it will be useful, but
98WITHOUT ANY WARRANTY; without even the implied warranty of
99MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
100General Public License for more details.
101
102You should have received a copy of the GNU General Public License
ea23049b 103along with adns as the file COPYING; if not, email me at the address
44d8654a 104above or write to the Free Software Foundation, 59 Temple Place -
105Suite 330, Boston, MA 02111-1307, USA.
87ad5851 106
acff310d 107[1] Tony Finch holds the original copyright on
108 client/adnslogres.c and client/fanftest.c.
109[2] MIT hold the original copyright on the included install-sh,
110 which came via GNU autoconf.
111
87ad5851 112# Local variables:
113# mode: text
114# End: