8af444220b
- works around Bash bug - dnscache-conf now wants dnsroots from /etc, instead of /usr/local/etc. sigh. Work around this by instructing user to copy dnsroots.global from PREFIX/share/dnscache to /etc in pkg/MESSAGE.
23 lines
781 B
Plaintext
23 lines
781 B
Plaintext
|
|
Help on configuration: ${HOMEPAGE}
|
|
|
|
=> _Before_ running dnscache-conf you need to install the 'dnsroots'
|
|
file into /etc. This port deliberately does not touch /etc.
|
|
dnscache-conf tries /etc/dnsroots.local first, then /etc/dnsroots.global.
|
|
|
|
cp ${PREFIX}/share/dnscache/dnsroots.global /etc
|
|
|
|
=> _After_ running dnscache-conf, do the following in your new
|
|
dnscache directory to get a strong(er) random seed:
|
|
|
|
dd if=/dev/srandom of=seed bs=128 count=1
|
|
|
|
=> The necessary users and groups can be created like this:
|
|
|
|
groupadd dnscache
|
|
groupadd tinydns
|
|
groupadd dnslog
|
|
useradd -c DJBDNS -d /nonexistent -g dnscache -s /sbin/nologin dnscache
|
|
useradd -c DJBDNS -d /nonexistent -g tinydns -s /sbin/nologin tinydns
|
|
useradd -c DJBDNS -d /nonexistent -g dnslog -s /sbin/nologin dnslog
|