On May 16, 2012, at 1:48 AM, [email protected] wrote: > 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
I believe you need at least a link-local or perhaps a loopback IPv6 address in the jail. I don't recall the details, but I remember something similar coming up on the list some time ago. Check the archives - I was one of the posters on the thread. Charles > > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users -- Charles Sprickman NetEng/SysAdmin Bway.net - New York's Best Internet www.bway.net [email protected] - 212.982.9800 _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
