[Pdns-users] PowerDNS 2.9.16 + dnscache not working

Roderick Groesbeek powerdns at roderick.triple-it.nl
Fri Mar 12 23:55:52 UTC 2004


Hello Matt,

> From: "Matt Dainty" <matt at bodgit-n-scarper.com>
>
> polymorph# env DNSCACHEIP=192.168.23.15 dnsqr a www.google.com
> Mar 12 22:42:50 polymorph pdns[108]: Recursive query for remote
192.168.23.15 with internal id 1 was not answered by backend within timeout,
reusing id
> Mar 12 22:42:50 polymorph pdns[108]: Discarding untracked packet from
recursor backend with id 7937. Contrack table size=2
> Mar 12 22:42:53 polymorph pdns[108]: Discarding untracked packet from
recursor backend with id 7938. Contrack table size=3
>
> What's puzzling me is that in the dnscache logs, I can see dnscache get
> the query and return the answer immediately:
>

Probably you wanna check that the following code *DOES* get compiled in on
your
system.

~~
#ifdef WORDS_BIGENDIAN
        // this is needed because spoof ID down below does not respect the
nativ
e byteorder
        d.id = ( 256 * (u_int16_t)buffer[1] ) + (u_int16_t)buffer[0];
#endif
"dnsproxy.cc" [Read only] line 176 of 216 --81%--
~~

Or recompile your code with "CXXFLAGS=-DWORDS_BIGENDIAN ./configure" just to
be sure.


Vriendelijke Groet,

Roderick
--
Pettemerstraat 12A                                  T r I p l e
1823 CW Alkmaar                                         T
Tel. +31 (0)72-5129516
fax. +31 (0)72-5129520                              Automatisering
www.triple-it.nl                                 "Laat uw Net Werken!"



More information about the Pdns-users mailing list