[Pdns-users] pdns as a resolver

Roeland Nieuwenhuis trancer at poweradmin.org
Sun Jul 20 23:58:57 UTC 2003


Concerning your compilation error there has been some more activity
about that before. Please read:
http://mailman.powerdns.com/pipermail/pdns-users/2003-April/thread.html#
178 There is some information that might help you out.

What it looks like is that your compiler just totally ignores the ifdef
(the SOLARIS isnt set) and it goes directly into the #else of that
part.. Rather weird but ok probly some good reason for that ;)

Regards,

Roeland Nieuwenhuis

-----Oorspronkelijk bericht-----
Van: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] Namens Jan Gyselinck
Verzonden: donderdag 17 juli 2003 11:14
Aan: pdns-users at mailman.powerdns.com
Onderwerp: [Pdns-users] pdns as a resolver


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
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users





More information about the Pdns-users mailing list