Here's a reproduction of the problem using a clean build of 2.9.22: [...@vm1:~/pkg/pdns-2.9.22/pdns]$ cat pdns.conf launch=gmysql gmysql-host=127.0.0.1 gmysql-user=XXXX gmysql-password=XXXX gmysql-dbname=pdns
wildcards=yes mysql> select * from records where domain_id=2; +----+-----------+-----------+------+--------------+------+------+-------------+ | id | domain_id | name | type | content | ttl | prio | change_date | +----+-----------+-----------+------+--------------+------+------+-------------+ | 10 | 2 | *.mcia.cc | A | 67.201.56.75 | 120 | NULL | NULL | | 18 | 2 | mcia.cc | A | 67.201.56.75 | 120 | NULL | NULL | +----+-----------+-----------+------+--------------+------+------+-------------+ [...@vm1:~/pkg/pdns-2.9.22/pdns]$ ./pdns_server --version Version: 2.9.22, compiled on Jan 7 2010, 00:17:29 with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) r...@vm1:~/pkg/pdns-2.9.22/pdns]$ sudo ./pdns_server --config-dir=. Jan 07 01:50:13 Reading random entropy from '/dev/urandom' Jan 07 01:50:13 This is a standalone pdns Jan 07 01:50:13 Listening on controlsocket in '/var/run/pdns.controlsocket' Jan 07 01:50:13 It is advised to bind to explicit addresses with the --local-address option Jan 07 01:50:13 UDP server bound to 0.0.0.0:53 Jan 07 01:50:13 TCP server bound to 0.0.0.0:53 Jan 07 01:50:13 PowerDNS 2.9.22 (C) 2001-2009 PowerDNS.COM BV (Jan 7 2010, 00:17:29, gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) starting up Jan 07 01:50:13 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 07 01:50:13 Creating backend connection for TCP Jan 07 01:50:13 gmysql Connection succesful Jan 07 01:50:13 About to create 3 backend threads for UDP Jan 07 01:50:13 gmysql Connection succesful Jan 07 01:50:13 gmysql Connection succesful Jan 07 01:50:13 gmysql Connection succesful Jan 07 01:50:13 Done launching threads, ready to distribute questions Jan 07 01:50:48 gmysql Connection succesful [...@vm1:/var/log]$ host mcia.cc localhost mcia.cc has address 67.201.56.75 Host mcia.cc not found: 2(SERVFAIL) Host mcia.cc not found: 2(SERVFAIL) [...@vm1:/var/log]$ host foo.mcia.cc localhost Host foo.mcia.cc not found: 2(SERVFAIL) (Why am I getting two servfails for the successful query?) This is the output from pdns_server during those queries: Jan 07 01:50:48 Not authoritative for 'mcia.cc', sending servfail to 67.201.32.11 Jan 07 01:50:48 Not authoritative for 'mcia.cc', sending servfail to 67.201.32.11 Jan 07 01:50:52 Not authoritative for 'foo.mcia.cc', sending servfail to 67.201.32.11 I can't for the life of me figure out what I'm doing wrong here. (Is anyone actually reading these messages?) rg _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
