[Pdns-users] pdns as a resolver

bert hubert ahu at ds9a.nl
Tue Jul 29 10:03:19 UTC 2003


On Tue, Jul 29, 2003 at 10:09:18AM +0200, Jan Gyselinck wrote:

> Okay, I managed to get this compiled now (-DSOLARIS did the trick).
> But I didn't found a solution to the errors below.  Maybe it's just
> the frontend that doesn't like to use BIND as a recursor. 

It likes that just fine:

> > 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

This looks like an endianness issue:
26984 -> 0x6968
27240 -> 0x6A68
27496 -> 0x6B68

Note how this ascends by one, but then in the wrong octet. I'll look at this
tonight.

> bash-2.03# ./pdns_recursor --trace=no
> Jul 29 09:45:25 Incoming query source port: 53
> Jul 29 09:45:25 Done priming cache with root hints
> Jul 29 09:45:25 Failed to update . records, RCODE=2
> Bus Error

You could try to run this within gdb, or the Sun debugger? Alternatively,
remove the extern "C" block in pdns_recursor.cc entirely.

Will look into this.

Thanks.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-users mailing list