[Pdns-users] pdns as a resolver

Jan Gyselinck pdns-users at lists.b0rken.net
Thu Jul 17 09:14:16 UTC 2003


Hi,

I'm currently looking at pdns as a resolver to see how good
and performant it is.  However, I didn't get very far.

The compilation of the recursor failed with this error:

g++ -DHAVE_CONFIG_H -I. -I. -I..   -Ibackends/bind
-DSYSCONFDIR=\"/prod/pdns/etc\" -DLIBDIR=\"/prod/pdns/lib\"
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -D_REENTRANT -mcpu=v9
-mtune=v9 -m32 -Wall -O2 -c -o pdns_recursor.o `test -f pdns_recursor.cc ||
echo './'`pdns_recursor.cc
mtasker.cc: In member function `void MTasker<EventKey, 
   EventVal>::makeThread(void (*)(void*), void*) [with EventKey = PacketID, 
   EventVal = std::string]':
pdns_recursor.cc:443:   instantiated from here
mtasker.cc:230: error: invalid conversion from `void (*)()' to `void
(*)(...)'
*** Error code 1
make: Fatal error: Command failed for target `pdns_recursor.o'
Current working directory /build/jgyselin/src/pdns/pdns-2.9.10/pdns
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /build/jgyselin/src/pdns/pdns-2.9.10/pdns
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /build/jgyselin/src/pdns/pdns-2.9.10
*** Error code 1
make: Fatal error: Command failed for target `all'

(compiled with gcc 3.3 on Solaris 8)

My knowledge of c++ is very limited so I didn't see how I could fix
this.  I reran configure, disabled the recursor, and the compile worked.

So then I wondered what pdns would give for performance if I used
with BIND 8 as a backend recursor.  But then I hit another wall,
apparently.  Pdns seems to refuse to answer to my queries, but I
do see it querying my BIND resolver, I do see it answering, but
then I see this in the logs:

Jul 10 12:41:13 testserver pdns[6063]: [ID 702911 daemon.error] Discarding untracked packet from recursor backend with id 26728. Contrack table size=1
Jul 10 12:41:18 testserver pdns[6063]: [ID 702911 daemon.error] Discarding untracked packet from recursor backend with id 26984. Contrack table size=2
Jul 10 12:41:37 testserver pdns[6063]: [ID 702911 daemon.error] Discarding untracked packet from recursor backend with id 27240. Contrack table size=3
Jul 10 12:41:42 testserver pdns[6063]: [ID 702911 daemon.error] Discarding untracked packet from recursor backend with id 27496. Contrack table size=4

How do I fix this, am I doing something wrong?


Jan Gyselinck


More information about the Pdns-users mailing list