sqldjbdns
SQL DNS server based on djbdns
Bruce Guenter <bruceg@em.ca> Radim Kolar <hsn@netmag.cz>
Version 0.71
2004-07-30

About

Sqldjbdns is an authoritative DNS server that pulls its data directly
from a set of SQL tables.  It supports fully dynamic A, MX, TXT, and PTR
records, and run-time configurable static NS and SOA records.  It also
supports schedule expiry and introduction of records.

Sqldnscache is a caching DNS nameserver using PostgreSQL as storage
for cached data. It supports storing and retrieving NS, CNAME, A, AAAA,
PTR, TXT and MX records. In volatile memory cache it can cache any type.
Dnscache has been slightly modified to work better in dialups environments.

At the moment, only PostgreSQL is supported, but support for other SQL
standard databases and different table schemas should be fairly easy to
add.  The RPM does not install in a ready-to-run form.

Build

To build the package, you need to unpack and patch the djbdns-1.05
package inside the build directory of sqldjbdns by downloading the
djbdns-1.05.tar.gz package from http://cr.yp.to/djbdns/install.html
and run:
	gzip -dc djbdns-1.05.tar.gz | tar -xf -
	patch < djbdns-1.05.patch -d djbdns-1.05

Then run "make" in the build directory of sqldjbdns.

There are some build switches
QUERY_LOG - log queries
QUERY_DEBUG - very verbose log of queries
SQL_LOG - log SQL statements
OLD_POSTGRESQL - use pgsql 7.3 or older sql constructs

Instalation

Create tables in SQL backed by executing create.sql. Setup env. variables
PGDATABASE PGHOST PGPASSWORD PGUSER with auth. info needed for connection
to these tables. Rest of installation is the same as for original DJB
suite.

Repository
You can get latest version from tla repository. You need to register
this repository first by
 tla register-archive http://people.tecnik93.com/~radim/arch/repo-2004/
and then checkout sqldjbdns--hacked and djbdns--hacked project branches.

This program is Copyright(C) 2000 Bruce Guenter, 2004 Radim Kolar and may be
copied according to the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 or a
later version.  A copy of this license is included with this package.
This package comes with no warranty of any kind.
