"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 Copyright (c) 2001 Fredrik Sjoholm <fredrik@sjoholm.com>
2 This is GPL. All rights reserved.
3
4 This apache module provides efficient and configurable hostname
5 lookups, similar but better than Apache's core <HostnameLookups on>
6 directive.
7 It uses a shared memory cache to store recently resolved hostnames.
8 By default the cache uses 200k of shared ram, and will cache up
9 to 1024 ip/host names.
10
11 PLUG
12 ====
13
14 Need extremly reliable and feature rich credit card processing?
15 Take a look at the merchant demo at http://www.ezic.com/
16 More feature AND higher reliability than any of authorize.net,
17 cybercash, ibill and signio.
18
19
20 REQUIREMENTS
21 ============
22
23 Apache MUST be built with EAPI and mm:
24 (get mm from http://www.engelschall.com/sw/mm/)
25 % cd mm-1.1.3
26 % ./configure --disable-shared
27 % cd apache_1.3.17
28 % EAPI_MM=../mm-1.1.3 ./configure ...
29
30
31 INSTALL
32 =======
33
34 Define the APACHE_HOME environment variable (needed to find $APACHE_HOME/bin/apxs)
35 then type make: (or do it all in one line..)
36 % APACHE_HOME=/z/httpd/ make
37
38
39 CONFIG
40 ======
41
42 # load module and turn off Apache core gethostbyaddr() function
43 LoadModule dns_module libexec/mod_dns.so
44 HostnameLookups Off
45
46 #<Location ...>
47 DnsLookups On
48 DnsTimeout_ms 5500
49 DnsResendTimer_ms 1900
50 #</Location>
51
52 # built-in statistics page
53 <Location /mod_dns/stats>
54 SetHandler dns-stats-handler
55 </Location>
56
57
58 5500 ms is the default timeout, UDP packets will be resent to the
59 DNS server every 1900 ms (DnsResendTimer_ms).
60 These directives can be configured per-directory, if for some reason
61 its more important to resolve a host-name in one place than another.
62 Notice that once the cache has a bad entry in it, it will not be
63 resolved again until it expires.
64
65
66 ~fredrik
67
68
69
70 (all trademarks belong to their respective owners)
71
72
73
74 CHANGELOG
75 =========
76
77 1.3 fixed a bug that could cause memory corruption and garbage in log files (thank you Antonio Baldassarra <antoniob@stt.it>)
78 1.2 initial release
79
80
81