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