mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
d8c3acf988
- Update files/pkg-message.in [1] PR: ports/160441 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Approved by: maintainer ([1] via mail)
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
###########################################################
|
|
|
|
To start using curvedns, finish the following tasks:
|
|
|
|
------- generate/install keys -----------------------------
|
|
|
|
curvedns-keygen %%PREFIX%%/etc/curvedns ns.example.net
|
|
|
|
------- configure -----------------------------------------
|
|
|
|
$EDITOR %%PREFIX%%/etc/curvedns/run.sample
|
|
# set user from "curvedns" to "bind" (required!),
|
|
# adjust IP / port-numbers,
|
|
# and save as %%PREFIX%%/etc/curvedns/run
|
|
|
|
$EDITOR %%PREFIX%%/etc/curvedns/log/run.sample
|
|
# set user from "curvedns" to "bind" (required!),
|
|
# and save as %%PREFIX%%/etc/curvedns/log/run
|
|
|
|
------- prepare/startup -----------------------------------
|
|
|
|
mkdir /var/service
|
|
ln -s %%PREFIX%%/etc/curvedns /var/service
|
|
echo svscan_enable=\"YES\" >> /etc/rc.conf
|
|
%%PREFIX%%/etc/rc.d/svscan start
|
|
|
|
------- verify --------------------------------------------
|
|
|
|
# examples:
|
|
dig @<curvedns-ip> auth-dom.example any
|
|
drill <curvedns-ip> auth-dom.example any
|
|
|
|
###########################################################
|