[Pdns-users] PowerDNS 2.9.16 + dnscache not working
Matt Dainty
matt at bodgit-n-scarper.com
Fri Apr 2 09:14:50 UTC 2004
* bert hubert <ahu at ds9a.nl> [2004-04-01 20:30:04]:
> is this problem still there?
Yes, AFAIK. I've tried building as-is, which defines WORDS_BIGENDIAN in
config.h correctly with ./configure, and I've tried forcing it
explicitly on with CXXFLAGS.
I can dig the box out this weekend, anything I need to look at in
particular?
Matt
> On Sat, Mar 13, 2004 at 12:55:52AM +0100, Roderick Groesbeek wrote:
> > 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!"
> >
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
> --
> http://www.PowerDNS.com Open source, database driven DNS Software
> http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
>
--
"I never deal with the common man. The common man has no spirituality.
The common man thinks that Ganesha is Dennis the Menace's dog."
More information about the Pdns-users
mailing list