1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/dns/pdnsd/pkg-install
James E. Housley 95f68a9247 New Port: net/pdns
pdnsd is a proxy dns server with permanent caching

PR:		22963
Submitted by:	Roman Shterenzon <roman@xpert.com>
2000-12-14 03:27:37 +00:00

10 lines
231 B
Bash

#!/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