I want use PowerDNS as the only (master) dns server on my machine...
But when i look at the config files that froxlor generates under config > choose distro (debian 6.0) > nameserver > power dns there is something wrong...
I made the following steps:
First i installed powerdns server
#apt-get install pdns-server (I didn't install froxlor via APT; i installed it manually via froxlor tarball so i haven't installed BIND on my system)
then froxlor > settings > Nameserver settings
the field "Bind config directory i change from /etc/bind to /etc/powerdns
i also change the field Bind reload command to /etc/init.d/pdns force-reload and set the name servers in the field Nameservers
i got from my serverprovider.
froxlor then generates then the following config files under config > choose distro (debian 6.0) > nameserver > power dns
/etc/powerdns/pdns.conf:
allow-recursion=127.0.0.1
config-dir=/etc/powerdns ##----------------- I think this is wrong???
daemon=yes
guardian=yes
launch=bind
lazy-recursion=yes
local-port=53
master=yes
module-dir=/usr/lib/powerdns ##----------------- that's also wrong?; there is no such file under /usr/lib/powerdns
setgid=pdns
setuid=pdns
socket-dir=/var/run
version-string=powerdns
bind-config=/etc/powerdns/named.conf ##----------------- that's also wrong; this is the BIND config file??? (normally under /etc/bind/named.conf)
Aug 16 16:06:49 j14838 pdns[2225]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Aug 16 16:06:49 j14838 pdns[2225]: Creating backend connection for TCP
Aug 16 16:06:49 j14838 pdns[2225]: Error parsing bind configuration: Unable to open '/etc/powerdns/named.conf': No such file or directory ##------Here is the error; should i create this file???
Aug 16 16:06:49 j14838 pdns[2225]: Caught an exception instantiating a backend, cleaning up
Aug 16 16:06:49 j14838 pdns[2225]: TCP server is unable to launch backends - will try again when questions come in: Unable to open '/etc/powerdns/named.conf': No such file or directory ## ------again error
Aug 16 16:06:49 j14838 pdns[2225]: Master/slave communicator launching
Aug 16 16:06:49 j14838 pdns[2225]: About to create 3 backend threads for UDP
Aug 16 16:06:49 j14838 pdns[2225]: All slave domains are fresh
Aug 16 16:06:49 j14838 pdns[2225]: No master domains need notifications
Aug 16 16:06:49 j14838 pdns[2225]: Done launching threads, ready to distribute questions
I think this is a bug in froxlor; my version of froxlor is 0.9.22
Question
peri0603
hi folks!
I want use PowerDNS as the only (master) dns server on my machine...
But when i look at the config files that froxlor generates under config > choose distro (debian 6.0) > nameserver > power dns there is something wrong...
I made the following steps:
First i installed powerdns server
#apt-get install pdns-server (I didn't install froxlor via APT; i installed it manually via froxlor tarball so i haven't installed BIND on my system)
then froxlor > settings > Nameserver settings
the field "Bind config directory i change from /etc/bind to /etc/powerdns
i also change the field Bind reload command to /etc/init.d/pdns force-reload and set the name servers in the field Nameservers
i got from my serverprovider.
froxlor then generates then the following config files under config > choose distro (debian 6.0) > nameserver > power dns
/etc/powerdns/pdns.conf:
allow-recursion=127.0.0.1
config-dir=/etc/powerdns ##----------------- I think this is wrong???
daemon=yes
guardian=yes
launch=bind
lazy-recursion=yes
local-port=53
master=yes
module-dir=/usr/lib/powerdns ##----------------- that's also wrong?; there is no such file under /usr/lib/powerdns
setgid=pdns
setuid=pdns
socket-dir=/var/run
version-string=powerdns
bind-config=/etc/powerdns/named.conf ##----------------- that's also wrong; this is the BIND config file??? (normally under /etc/bind/named.conf)
bind-check-interval=300
include=/etc/powerdns/pdns_froxlor.conf
/etc/powerdns/pdns_froxlor.conf
allow-axfr-ips=109.239.48.251,109.239.48.250,109.239.49.251
#local-ipv6=YOUR_IPv6_(if_any)
bind-config=/etc/powerdns/named.conf ##----------------- also the config file for BIND?
bind-check-interval=180
log-dns-details=yes
local-address=109.239.48.xxx,127.0.0.1 ##----------------- here i made xxx for security reason
I looked also under /var/log/daemon.log
Aug 16 15:59:43 j14838 pdns[2186]: Listening on controlsocket in '/var/run/pdns.controlsocket'
Aug 16 15:59:43 j14838 pdns[2190]: Guardian is launching an instance
Aug 16 15:59:43 j14838 pdns[2190]: Reading random entropy from '/dev/urandom'
Aug 16 15:59:43 j14838 pdns[2190]: Unable to launch, no backends configured for querying
Aug 16 15:59:44 j14838 pdns[2186]: Child requested a stop, exiting
Aug 16 16:00:48 j14838 pdns[2205]: Listening on controlsocket in '/var/run/pdns.controlsocket'
Aug 16 16:00:48 j14838 pdns[2209]: Guardian is launching an instance
Aug 16 16:00:48 j14838 pdns[2209]: Reading random entropy from '/dev/urandom'
Aug 16 16:00:48 j14838 pdns[2209]: Unable to launch, no backends configured for querying
Aug 16 16:00:49 j14838 pdns[2205]: Child requested a stop, exiting
Aug 16 16:06:49 j14838 pdns[2221]: Listening on controlsocket in '/var/run/pdns.controlsocket'
Aug 16 16:06:49 j14838 pdns[2225]: Guardian is launching an instance
Aug 16 16:06:49 j14838 pdns[2225]: Reading random entropy from '/dev/urandom'
Aug 16 16:06:49 j14838 pdns[2225]: This is a guarded instance of pdns
Aug 16 16:06:49 j14838 pdns[2225]: UDP server bound to 109.239.48.xxx:53
Aug 16 16:06:49 j14838 pdns[2225]: UDP server bound to 127.0.0.1:53
Aug 16 16:06:49 j14838 pdns[2225]: TCP server bound to 109.239.48.xxx:53
Aug 16 16:06:49 j14838 pdns[2225]: TCP server bound to 127.0.0.1:53
Aug 16 16:06:49 j14838 pdns[2225]: PowerDNS 2.9.22 © 2001-2009 PowerDNS.COM BV (Sep 24 2010, 14:35:45, gcc 4.4.5 20100913 (prerelease)) starting up
Aug 16 16:06:49 j14838 pdns[2225]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Aug 16 16:06:49 j14838 pdns[2225]: Creating backend connection for TCP
Aug 16 16:06:49 j14838 pdns[2225]: Error parsing bind configuration: Unable to open '/etc/powerdns/named.conf': No such file or directory ##------Here is the error; should i create this file???
Aug 16 16:06:49 j14838 pdns[2225]: Caught an exception instantiating a backend, cleaning up
Aug 16 16:06:49 j14838 pdns[2225]: TCP server is unable to launch backends - will try again when questions come in: Unable to open '/etc/powerdns/named.conf': No such file or directory ## ------again error
Aug 16 16:06:49 j14838 pdns[2225]: Master/slave communicator launching
Aug 16 16:06:49 j14838 pdns[2225]: About to create 3 backend threads for UDP
Aug 16 16:06:49 j14838 pdns[2225]: All slave domains are fresh
Aug 16 16:06:49 j14838 pdns[2225]: No master domains need notifications
Aug 16 16:06:49 j14838 pdns[2225]: Done launching threads, ready to distribute questions
I think this is a bug in froxlor; my version of froxlor is 0.9.22
Thanks for suggestions...
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.