BSD Ports

dns/pdnsd 1.2.9a MidnightBSD

Caching (permanently, writes to disk on exit) DNS proxy-server

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl3
Categories
dns

Description

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 unreachable 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 behavior, 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 behavior. 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.

In the other systems

SystemPortVersion
MidnightBSDdns/pdnsd1.2.9a
FreeBSDdns/pdnsd1.2.9a_2
OpenBSDnet/pdnsd1.2.9ap1
DragonFlydns/pdnsd1.2.9a_2
HardenedBSDdns/pdnsd1.2.9a_2
GhostBSDdns/pdnsd1.2.9a_2

Install

Binary package:

mport install pdnsd

From mports:

cd /usr/mports/dns/pdnsd && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pdnsd>0:dns/pdnsd

Dependencies

No port depends on this one.

Configuration

Options name: dns_pdnsd

OptionDefaultDescription
DOCSoff
IPV6off
USES
gmake cpe
Service scripts
pdnsd

Files

Manual pages 3
  • pdnsd(8)
  • pdnsd-ctl(8)
  • pdnsd.conf(5)
pkg-plist 17
  • @unexec if cmp -s %D/etc/pdnsd.conf %D/etc/pdnsd.conf.sample; then rm %D/etc/pdnsd.conf; fi
  • etc/pdnsd.conf.sample
  • @exec [ -f %D/etc/pdnsd.conf ] || install -m 644 %D/etc/pdnsd.conf.sample %D/etc/pdnsd.conf
  • share/man/man5/pdnsd.conf.5.gz
  • share/man/man8/pdnsd-ctl.8.gz
  • share/man/man8/pdnsd.8.gz
  • sbin/pdnsd
  • sbin/pdnsd-ctl
  • share/doc/pdnsd/dl.html
  • share/doc/pdnsd/doc.html
  • share/doc/pdnsd/faq.html
  • share/doc/pdnsd/index.html
  • share/doc/pdnsd/faq.txt
  • share/doc/pdnsd/intro.txt
  • share/doc/pdnsd/manual.txt
  • @dirrm share/doc/pdnsd
  • @unexec rm -rf /var/db/pdnsd 2>&1 >/dev/null || true
distinfo 1
FileSizeSHA256
pdnsd-1.2.9a-par.tar.gz516061bb5835d0caa8c4b31679d6fd6a1a090b71bdf70950db3b1d0cea9cf9cb7e2a7b
Master sites 2
  • http://members.home.nl/p.a.rombouts/pdnsd/releases/
  • http://distfiles.pirateparty.in/ashish/