[Pdns-users] PowerDNS does not work into FreeBSD jail

admin at sysadmins.el.kg admin at sysadmins.el.kg
Wed May 16 05:48:54 UTC 2012


Hi all! I have installed pdns into FreeBSD jail. World of host-machine and
jail builded with this make.conf:

.if ${.CURDIR} == ${PORTSDIR}/databases/mariadb-server
WITH_CHARSET=utf8
WITH_COLLATION=utf8_general_ci
WITH_XCHARSET=all
.endif
.if ${.CURDIR} == ${PORTSDIR}/databases/mariadb-client
WITH_CHARSET=utf8
WITH_COLLATION=utf8_general_ci
WITH_XCHARSET=all
.endif

CPUTYPE?=core2
NO_PROFILE=yes
NO_GAMES=yes
DOC_LANG=en_US.UTF-8 ru_RU.UTF-8
WITHOUT_X11=YES
NO_X11=YES
WITH_IDEA=yes
MAKE_IDEA=yes
WITHOUT_GAMES=yes
#WITHOUT_INET6_SUPPORT=yes
WITHOUT_PROFILE=yes

PORTSDIR?=      /usr/ports
FORCE_PKG_REGISTER=yes
X11BASE=${LOCALBASE}

Jail have two interfaces - bde0 with  external IP-address and loopback
with 127.0.0.2.

I have started pdns-server with comand:

./pdns_server --allow-recursion=<LAN> --daemon=no --log-dns-details=yes
--slave=yes --query-local-address=<IP> --launch=gmysql
--local-address=<IP> --gmysql-host=localhost --gmysql-port=3306
--gmysql-dbname=dns --gmysql-user=root --gmysql-password=wanderer
--setgid=bind --setuid=bind --loglevel=9 --query-logging=yes
--log-failed-updates=yes --disable-axfr=yes --socket-dir=/tmp
--local-port=53 --guardian=no --slave-cycle-interval=60
--lazy-recursion=yes --recursor=<ext_server_IP> --no-config

But it does not start.

May 16 05:00:16 Reading random entropy from '/dev/urandom'
May 16 05:00:16 This is module gmysqlbackend.so reporting
May 16 05:00:16 This is a standalone pdns
May 16 05:00:16 Listening on controlsocket in '/tmp/pdns.controlsocket'
May 16 05:00:16 UDP server bound to <IP>:53
May 16 05:00:16 Fatal error: Unable to convert '::' to a netmask




More information about the Pdns-users mailing list