The dnscache program is a local DNS cache. It accepts recursive DNS queries
from local clients such as web browsers. It collects responses from remote DNS
servers. This dnscache program is part of the djbdns suite provided by D.
J. Bernstein. See http://cr.yp.to/djbdns.html
for more information.
WARNING - This package is depricated. I have switched to using
Jacques Nilo's dnscache
package. I'll try to get some current data about dnscache up soon...
|djb dnscache 1.02
LEAF Sourceforge site
- Some settings for dnscache are in /etc/dnscache.conf
- IP addresses dnscache should answer queries from are in
- See http://cr.yp.to/djbdns/dnscache.html
for slightly more detailed information
- dnscache is currently set to run as user 'daemon'. You can change
this in /etc/dnscache.conf
- Remember to configure your internal workstations to use your LRP box as
their DNS server (this can be done manually or with dhcp). Once
dnscache is running, you have no need to use the DNS servers run by your ISP
(although you can still enter them as secondary servers, if you like).
- If you are running a large, many user network (or have lots of RAM),
you might want to make the cache larger than it's current 1 Meg size (set in
- dnscache runs chrooted in the directory specified by the $ROOT environment
variable, under the uid and gid specified by the $UID and $GID environment
- dnscache accepts a packet or connection from IP address 22.214.171.124 if it sees
a file named ip/126.96.36.199 or ip/1.2.3 or ip/1.2 or ip/1.
- dnscache reads a list of dotted-decimal root server IP addresses, one
address per line, from servers/@. It also scans the servers directory for
server IP addresses for other domains. If there are addresses listed in
servers/corp.local, for example, then dnscache will send queries for
anything.corp.local to those addresses, and will not cache records for
anything.corp.local from outside servers such as the root servers.
- The dnscache program is part of a suite of programs, and is intended to be
run by utilities from the daemontools package (see http://cr.yp.to/software.html).
To keep the size down, I have stripped out all the daemon tools binaries,
and coerced dnscache to run from an init.d script. Since dnscache
seems to generate a lot of logging information, I have simply directed its
output to /dev/null (the default setup uses the daemon tool 'multilog' to
create and rotate log files for dnscache. I have kept the directory
structure used by the default install in case you decide to install the rest
of the daemon tools.
- There is another DNSCache home page
which has some patches, mailing list archives, and links to German and
Japanese dnscache pages.
- I do not have the rest of the stuff from http://cr.yp.to
available, so DON'T ASK. If I port any more stuff, I'll post to the
mailing list & update this page :)
10/14/00 14:46 22,429 dnscache.lrp
drwxr-xr-x daemon/daemon 0 Oct 05 08:19 2000 etc/dnscache/
drwxr-xr-x daemon/daemon 0 Oct 05 08:19 2000 etc/dnscache/root/
drwxr-xr-x daemon/daemon 0 Oct 05 08:19 2000 etc/dnscache/root/ip/
-rw-r--r-- daemon/daemon 0 Jun 05 12:00 2000 etc/dnscache/root/ip/127.0.0.1
-rw-r--r-- daemon/daemon 0 Jun 06 03:06 2000 etc/dnscache/root/ip/192.168.1
drwxr-xr-x daemon/daemon 0 Oct 05 08:19 2000 etc/dnscache/root/servers/
-rw------- daemon/daemon 164 Jun 05 12:03 2000 etc/dnscache/root/servers/@
-rw-r--r-- daemon/daemon 128 Jun 05 14:19 2000 etc/dnscache/seed
-rw------- root/root 558 Jun 06 03:04 2000 etc/dnscache.conf
-rwxr-xr-x root/root 812 Jun 20 07:14 2000 etc/init.d/dnscache
-rwxr-xr-x root/root 47180 Oct 14 09:42 2000 usr/sbin/dnscache
-rw-r--r-- root/root 79 Jun 05 11:55 2000 var/lib/lrpkg/dnscache.conf
-rw-r--r-- root/root 525 Jun 27 16:02 2000 var/lib/lrpkg/dnscache.help
-rw-r--r-- root/root 94 Jun 06 03:12 2000 var/lib/lrpkg/dnscache.list
-rw-r--r-- root/root 5 Oct 14 09:43 2000 var/lib/lrpkg/dnscache.version