Re: [Pdns-users] powerdns 3.1 + gcc 4.6 on ubuntu 12

2012-10-03 Thread David Hawthorne
This was based on pdns-3.1.tar.gz I was able to fix that specific issue by running libtoolize in the root pdns-3.1/ directory. After that it compiles fine. On Oct 3, 2012, at 1:08 AM, bert hubert wrote: > On Tue, Oct 02, 2012 at 03:45:03PM -0700, David Hawthorne wrote: >> H

[Pdns-users] powerdns 3.1 + gcc 4.6 on ubuntu 12

2012-10-02 Thread David Hawthorne
Have y'all noticed issues getting it to compile? I see this: :~/powerdns/modules/pipebackend$ make /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -pthread-D_GNU_SOURCE -Wall -O2 -MT pipebackend.lo -MD -MP -MF .deps/pipebackend.Tpo -c -o pipebackend.lo pi

[Pdns-users] positive responses getting NXDOMAIN set

2012-09-12 Thread David Hawthorne
I don't know how this is happening and I'm having a hard time tracing the logic in packethandler.cc (pdns-3.1) to find out. I'm getting positive responses with NXDOMAIN status: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 22185 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDI

[Pdns-users] unix socket explosions

2012-07-30 Thread David Hawthorne
Scenario: I'm testing a new backend that I've written and the actual backend isn't running properly so all queries are timing out. This is ok. I am noticing that under steady but slow request load, powerdns is spawning 2 new unix sockets every 5 seconds or so. I am now up to 1003 open sockets

[Pdns-users] throwing AhuException from module not working properly?

2012-07-04 Thread David Hawthorne
This is with pdns-3.1. I'm throwing AhuExceptions in my module under the assumption that the docs in dnsbackend.hh are correct, and it's not causing the backend object to be destroyed and recreated. docs from dnsbackend.hh: More serious errors, which may indicate that the database connecti

[Pdns-users] edns subnet response not as expected

2012-06-10 Thread David Hawthorne
When I send a request with dig +client=123.123.123.123, I always get a response witha netmask of /1: ; CLIENT-SUBNET: 123.123.123.123/32/1 I can't find a way to change that /1 to something else. Google returns a /19 there. Shouldn't this be a configurable? see more at: http://wilmer.gaa.st/e

Re: [Pdns-users] Recursor: Different answers for the same query

2011-01-26 Thread David Hawthorne
They don't share the same cache? What's the reasoning behind that? On Jan 26, 2011, at 1:55 AM, bert hubert wrote: > On Wed, Jan 26, 2011 at 10:32:19AM +0100, Christian Kuehn wrote: >> any idea why the pdns-recursor 3.3 gives different answers to the same >> query?? > > Hello!! ;-) > > You pro

Re: [Pdns-users] Power DNS 2.9.22 compile error while running 'make' command

2010-05-26 Thread David Hawthorne
I ran into this on ubuntu as well, with all the dependencies properly installed tyvm. ../../rcpgenerator.cc: In member function ‘void RecordTextReader::xfrTime(uint32_t&)’: ../../rcpgenerator.cc:75: error: ‘sscanf’ was not declared in this scope ../../rcpgenerator.cc: In member function ‘void Re

Re: [Pdns-users] [recursor] configure could be more user-friendly

2010-05-26 Thread David Hawthorne
Just to weigh in on this, I'm compiling it on mac right now to see if I can find a missing header I already fixed in a local branch. I had to twiddle CPPFLAGS and LDFLAGS on the configure line to get it to know where macports installed boost: $ CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/loca