(This "beta" version contains all FreeBSD fixes I've sent the author) pdnsd is a proxy dns server with permanent caching (the cache contents are written to hard disk on exit) that is designed to cope with unreacheable or down dns servers (for example in dial-in networking). pdnsd can be used with applications that do dns lookups, eg on startup, and can't be configured to change that behaviour, to prevent the often minute-long hangs (or even crashes) that result from stalled dns queries. Some Netscape Navigator versions for Unix, for example, expose this behaviour. pdnsd is configurable via a file and supports run-time configuration using the program pdnsd-ctl that comes with pdnsd. This allows you to set the status flags of servers that pdnsd knows (to influence which servers pdnsd will query), and the addition, deletion and invalidation of DNS records in pdnsd's cache. Parallel name server queries are supported. This is a technique that allows querying several servers at the same time so that very slow or unavailable servers will not block the answer for one timeout interval. Since version 1.0.0, pdnsd has full IPv6 support. WWW: http://home.t-online.de/home/Moestl/
oops :( As usual, noticed it too late. The package doesn't create /var/db/pdnsd .. I'll use pkg-install then. diff -urN pdnsd.orig/Makefile pdnsd/Makefile --- pdnsd.orig/Makefile Mon Nov 20 00:53:27 2000 +++ pdnsd/Makefile Mon Nov 20 00:44:13 2000 @@ -13,7 +13,9 @@ MAINTAINER= roman@xpert.com GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-cachedir=/var/db/pdnsd +CONFIGURE_ARGS= --with-cachedir=${PDNSDB} + +PDNSDB= /var/db/pdnsd post-install: @${MKDIR} ${PREFIX}/etc/rc.d diff -urN pdnsd.orig/pkg-install pdnsd/pkg-install --- pdnsd.orig/pkg-install Thu Jan 1 02:00:00 1970 +++ pdnsd/pkg-install Mon Nov 20 00:52:16 2000 @@ -0,0 +1,9 @@ +#!/bin/sh +PDNSDB=/var/db/pdnsd + +mkdir -p ${PDNSDB} +chown nobody ${PDNSDB} +chmod 755 ${PDNSDB} +dd if=/dev/zero of=${PDNSDB}/pdnsd.cache bs=1 count=4 >/dev/null 2>&1 +chown nobody ${PDNSDB}/pdnsd.cache +chmod 640 ${PDNSDB}/pdnsd.cache --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]
State Changed From-To: open->closed Committed. Thanks.