I have just installed PowerDNS 2.9.20-1 on a test Linux server running
Fedora 5. As per the documentation, the only entries in pdns.conf are:
---------------------------
launch=bind
bind-example-zones
---------------------------
When I try to test the service I get an error:
---------------------------
# host www.example.com 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:
Host www.example.com not found: 2(SERVFAIL)
#
---------------------------
And the monitor shows the following:
---------------------------
# /etc/init.d/pdns monitor
Sep 02 13:24:08 This is a standalone pdns
Sep 02 13:24:08 It is advised to bind to explicit addresses with the
--local-address option
Sep 02 13:24:08 UDP server bound to 0.0.0.0:53
Sep 02 13:24:08 TCP server bound to 0.0.0.0:53
Sep 02 13:24:08 PowerDNS 2.9.20 (C) 2001-2006 PowerDNS.COM BV (Mar 15 2006,
19:32:45, gcc 4.0.2) starting up
Sep 02 13:24:08 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.
Sep 02 13:24:08 Creating backend connection for TCP
Sep 02 13:24:08 About to create 3 backend threads for UDP
% Sep 02 13:24:08 Done launching threads, ready to distribute questions
Sep 02 13:24:24 Distributor misses a thread (4<3), spawning new one
Sep 02 13:24:24 Not authoritative for 'www.example.com', sending servfail to
127.0.0.1 (recursion was desired)
---------------------------
Have I missed something obvious here - the documentation states that when
using the bind backend the domain 'example.com' is built in - so surely this
should work with no other configuration?
Any suggestions appreciated.
Regards, Matt