[Pdns-users] Starting recursor on freebsd 8.2

fredrik danerklint fredan-pdns at fredan.org
Sun Jan 15 16:46:19 UTC 2012


Trying to start recursor on FreeBSD 8.2

Please tell me what I have missed in the configuration.

# netstat -ln -p udp
# /usr/local/etc/rc.d/pdns-recursor start
Starting pdns_recursor.
Jan 15 17:41:40 PowerDNS recursor 3.3 (C) 2001-2010 PowerDNS.COM BV (Jan 
  9 2011, 05:22:37, gcc 4.2.1 20070719  [FreeBSD]) starting up
Jan 15 17:41:40 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.
Jan 15 17:41:40 Operating in 64 bits mode
Jan 15 17:41:40 Reading random entropy from '/dev/urandom'
Jan 15 17:41:40 Only allowing queries from: 127.0.0.0/8, ::1/128
Jan 15 17:41:40 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8, 
192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10, 0.0.0.0, ::
Jan 15 17:41:40 Enabling IPv6 transport for outgoing queries
Jan 15 17:41:40 Reading zone forwarding information from 
'/usr/local/etc/pdns/forward-zone'
Jan 15 17:41:40 Done parsing 16 forwarding instructions from file 
'/usr/local/etc/pdns/forward-zone'
Jan 15 17:41:40 Inserting rfc 1918 private space zones
Jan 15 17:41:40 Exception: Resolver binding to server socket on port 53 
for 127.0.0.1: Address already in use
/usr/local/etc/rc.d/pdns-recursor: WARNING: failed to start pdns_recursor
# netstat -ln -p udp
#


recursor.conf:

# Drop uid
#setuid=pdns_recursor
# Drop gid
#setgid=pdns
# Don't log queries
quiet=on
local-address=127.0.0.1
# Local port to bind to
local-port=53
# Change root for safety
#chroot=/var/empty
allow-from=127.0.0.0/8, ::1/128
forward-zones-file=/usr/local/etc/pdns/forward-zone
aaaa-additional-processing


-- 
//fredan



More information about the Pdns-users mailing list