chiark / gitweb /
update version
[adns] / INSTALL
CommitLineData
c6826df6 1INSTALLATION INSTRUCTIONS for GNU ADNS
44d8654a 2
3458e07e 31. Read the security note below.
4
52. Standard GNU package build process:
c6826df6 6 $ ./configure [--disable-dynamic] [--prefix=... ...]
44d8654a 7 $ make
8 # make install
9
c6826df6 10Unfortunately, there is no comprehensive documentation yet. For now,
11use the comments in the public header file adns.h, and for the C
12programs their usage messages. If you find this information
13ambiguous, incomplete or wrong, please report it as a bug.
44d8654a 14
15
c6826df6 16TESTED PLATFORMS
44d8654a 17
96175025 18The following platforms have been tested at at least some point and
19should work - please report if they don't:
cbb149f9 20 adns version OS
c6826df6 21 1.0 Linux glibc 2.1 (actually tested on Debian 2.2)
22 1.0 Solaris 2.6, 2.7, 2.8 [3]
799508d2 23 1.0 FreeBSD 3.2, 4.0 (no poll(2), so no adnsresfilter)
c6826df6 24The following work, but only with --disable-dynamic:
799508d2 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
cbb149f9 28Later versions of the same OS should work too. Usually entries in
29this table mean adns passes its own regression test, when compiled
30with GCC, and appears to install and run correctly. If you have more
31information for this table please let me know.
c6826df6 32
33Notes/known problems:
34 [1] IRIX 6.5 inet_ntoa seems to break with GCC.
35 [2] The SGI IRIX compiler produces many spurious warnings.
abf5f52c 36 [3] Dynamically linked, needs some help to find libadns.so.1.0.
96175025 37
38The following platforms are known to be deficient and will not work:
c6826df6 39 Solaris 2.5 Lacks vsnprintf - install glibc ?
40 TruUnix64 (DEC UNIX 4.0f) Lacks vsnprintf - install glibc ?
96175025 41Please don't report these problems unless you have a nice,
c6826df6 42straightforward solution or workaround for them. (I don't consider
43including a `vsnprintf' implementation nice, so don't send me one.)
44
45
46PORTABILITY INFORMATION
47
48You will find that adns requires a reasonably standard and up to date
cbb149f9 49system. Systems which are neither GNU nor UNIX are not supported.
96175025 50
c6826df6 51The build system assumes by default that you have ELF shared
52libraries, and that the directory in which libadns.so.1 will be
53installed is on your dynamic library search path. If your system
54doesn't have ELF shared libraries then dynamic linking is not
55supported by adns. Use the --disable-shared configure option.
56Please don't send me patches to use libtool (which I dislike).
44d8654a 57
cbb149f9 58Compilers other than GNU C should work, but are not well-tested. Feel
59free to send me patches to improve the situation. However, the
60Makefiles only know how to use GCC to make dynamic libraries.
61
87ad5851 62The adnsresfilter utility uses `tsearch' from the C library (a la SVID
c6826df6 63and X/Open). If you don't have tsearch configure will arranges for
64adnsresfilter not to be built. To fix this, install a C library
65containing tsearch, such as the GNU C library. It is best if tsearch
66uses an automatically-balancing tree algorithm, like the glibc version
67does. Simple binary trees may perform badly.
87ad5851 68
cbb149f9 69If you change the m4 input files in regress/ you may need GNU m4.
70
b0fe3d92 71You will probably find that GNU Make is required.
c6826df6 72Please do not report this as a bug; install GNU Make instead.
44d8654a 73
74
3458e07e 75SECURITY AND PERFORMANCE - AN IMPORTANT NOTE
76
87764d71 77adns is not a `full-service resolver': it does no caching of responses
3458e07e 78at all, and has no defence against bad nameservers or fake packets
79which appear to come from your real nameservers. It relies on the
80full-service resolvers listed in resolv.conf to handle these tasks.
81
82For secure and reasonable operation you MUST run a full-service
83nameserver on the same system as your adns applications, or on the
84same local, fully trusted network. You MUST only list such
85nameservers in the adns configuration (eg resolv.conf).
86
87You MUST use a firewall or other means to block packets which appear
88to come from these nameservers, but which were actually sent by other,
89untrusted, entities.
90
91Furthermore, adns is not DNSSEC-aware in this version; it doesn't
92understand even how to ask a DNSSEC-aware nameserver to perform the
93DNSSEC cryptographic signature checking.
94
95
44d8654a 96COPYRIGHT
97
98This file, INSTALL, contains installation instructions and other
89435c42 99details for adns. It is
100 Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
44d8654a 101
a79ac5ba 102adns is
acff310d 103 Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
c6826df6 104 Copyright (C) 1999-2000 Tony Finch <dot@dotat.at> [1]
acff310d 105 Copyright (C) 1991 Massachusetts Institute of Technology [2]
44d8654a 106
107adns is free software; you can redistribute it and/or modify it under
108the terms of the GNU General Public License as published by the Free
109Software Foundation; either version 2 of the License, or (at your
110option) any later version.
111
112This program is distributed in the hope that it will be useful, but
113WITHOUT ANY WARRANTY; without even the implied warranty of
114MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
115General Public License for more details.
116
117You should have received a copy of the GNU General Public License
ea23049b 118along with adns as the file COPYING; if not, email me at the address
44d8654a 119above or write to the Free Software Foundation, 59 Temple Place -
120Suite 330, Boston, MA 02111-1307, USA.
87ad5851 121
c6826df6 122[1] Tony Finch holds the original copyright on client/adnslogres.c and
123 client/fanftest.c, and some modifications to those files.
acff310d 124[2] MIT hold the original copyright on the included install-sh,
125 which came via GNU autoconf.
126
32f25118 127
87ad5851 128# Local variables:
129# mode: text
130# End: