Related links:
MAXUDP
Many people try to boost dnscache's performance by increasing the value of
MAXUDP
in the source. This is not necessarily a good idea, and
can often cause more problems than it solves. If you are having performance
problems, save your full dnscache logs. Put the logs on the web, and post a
message to the djbdns mailing list asking for help, giving the URL for your
logs. Be sure to follow all the
usual guidelines for that list.
The djbdns-stricthome
patch makes djbdns use conf-home
for all absolute filenames.
This includes etc/resolv.conf
, etc/dnsrewrite
,
etc/dnsroots.global
, and etc/dnsroots.local
. This
is useful for installing djbdns into its own directory (as in a
slashpackage system), for
installation as a non-root user, or for easy inspection, removal, etc., of
the entire package; the package is entirely contained in that directory,
except perhaps for symlinks you set up pointing to other locations. With
this patch, djbdns can be controlled independently of other packages on the
system, or, if uniformity is desired, symlinks to central /etc
files can be created. CAVEAT: other packages, such as
ucspi-tcp, have their own copies of the djbdns client library, referring to
/etc/resolv.conf
and /etc/dnsrewrite
. It is
probably best to avoid using this patch unless you really need it (i.e., you
do not have root access).
The cache-effect Perl script measures dnscache's
cache effectiveness.
Its arguments are paths to dnscache service directories. It assumes that the
logs in log/main/
include stats
and
starting
lines, and that env/CACHESIZE
has
not been changed since the last time dnscache was restarted.
(See also...)
The dropmatch Guile Scheme script looks for
dropped, timed-out queries in dnscache's logs. For each such query, it
reports the time spent on the query, the query type, and the query name.
Pass paths like /service/dnscache/log/main
on the command line,
or use the script as a multilog !processor
.
The logrange Perl script selects a time-based range of log lines from a multilog log directory.
The sort2html sed script transforms
dnstracesort
's output into HTML.
The uniq-host Perl script looks for duplicated
addresses in "=
" lines in a tinydns data
file.
The zones Perl script prints the authoritative zones
in a tinydns data
file. It handles all allowable
representations of domain names, unlike tinydns-showctl.