Re: [Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread Seth Mattinen
On 5/26/10 6:29 AM, David J Craigon wrote: > > Any idea how to get automatic serial numbers working? > Autoserial is not supported in the generic backends: http://doc.powerdns.com/generic-mypgsql-backends.html Table A-5. Generic PgSQL and MySQL backend capabilities Native Yes - but PostgreSQL

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

2010-05-26 Thread bert hubert
On Wed, May 26, 2010 at 10:15:34PM +0200, Stephane Bortzmeyer wrote: > On Wed, May 26, 2010 at 07:57:13PM +0200, > bert hubert wrote > a message of 85 lines which said: > > > The immediate reason that the pdns-recursor did not have full auto*, > > and is unlikely to get it, was the deep dissat

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

2010-05-26 Thread Stephane Bortzmeyer
On Wed, May 26, 2010 at 07:57:13PM +0200, bert hubert wrote a message of 85 lines which said: > The immediate reason that the pdns-recursor did not have full auto*, > and is unlikely to get it, was the deep dissatisfaction we felt with > this suite of programs. Do note that I was not asking s

Re: [Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread Stephane Bortzmeyer
On Wed, May 26, 2010 at 11:17:25AM +0200, bert hubert wrote a message of 60 lines which said: > We could probably boil this issue down to a tiny testcase that would > crash on NetBSD. This could then lead to a bugreport to NetBSD. I did so, both on the netbsd-users mailing list and in a threa

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

2010-05-26 Thread bert hubert
On Thu, May 27, 2010 at 12:41:09AM +1200, Michael wrote: > On Slackware 13.0 while running Make: > > I have successfully configured, compiled (and happily running) this on 2 > other > Slackware machines - one running 12.0 and the other 13.0, and I really am not > sure what the difference betwee

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

2010-05-26 Thread bert hubert
Derek, Dave, Stephane, (a rare top-post!), your points are well understood, and will be addressed. The immediate reason that the pdns-recursor did not have full auto*, and is unlikely to get it, was the deep dissatisfaction we felt with this suite of programs. It turned out to be difficult to ha

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

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

2010-05-26 Thread Derrik Pates
On 05/26/2010 12:45 AM, Stephane Bortzmeyer wrote: > ./configure is not very helpful when it cannot find a library. For > instance, if Boost is not found (because it is in /usr/pkg): > > % ./configure > Testing dependencies and compiler. > Using gmake to build [trimming compiler output] > Instead

Re: [Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread David J Craigon
So what goes in the change_date field? I tried putting 20100526 as a numerical representation of now, but it was still putting out 0 as a serial number. David On 26 May 2010 12:21, David J Craigon wrote: > DB schema is exactly as here: > > http://doc.powerdns.com/generic-mypgsql-backends.html

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

2010-05-26 Thread Imre Gergely
I could be wrong but it seems like you don't have some basic header files installed. glibc-headers, glibc-devel maybe? On 05/26/2010 03:41 PM, Michael wrote: > On Slackware 13.0 while running Make: > > I have successfully configured, compiled (and happily running) this on 2 > other > Slackware

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

2010-05-26 Thread Michael
On Slackware 13.0 while running Make: I have successfully configured, compiled (and happily running) this on 2 other Slackware machines - one running 12.0 and the other 13.0, and I really am not sure what the difference between them is. In all instances Boost 1.41 is used and configure is run a

Re: [Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread David J Craigon
DB schema is exactly as here: http://doc.powerdns.com/generic-mypgsql-backends.html with the only difference that I have put these tables in a schema "dns" in the database, since I want to use the database for other things too. These are my database queries- they are exactly the same as the defa

Re: [Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread bert hubert
On Wed, May 26, 2010 at 11:59:31AM +0100, David J Craigon wrote: > Adding a TTL doesn't help. Without one, ordinary queries are responded > to with the default TTL. Ok - can you show all your queries from the configuration? And your db schema? Bert

Re: [Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread David J Craigon
Adding a TTL doesn't help. Without one, ordinary queries are responded to with the default TTL. David On 26 May 2010 11:07, bert hubert wrote: > On Wed, May 26, 2010 at 10:43:04AM +0100, David J Craigon wrote: >> isp=# select * from dns.records; >>  id | domain_id |   name    | t

Re: [Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread bert hubert
On Wed, May 26, 2010 at 10:43:04AM +0100, David J Craigon wrote: > isp=# select * from dns.records; >  id | domain_id |   name    | type | >    content  | ttl | prio | change_date > +---+---+--+-

[Pdns-users] TCP Connection Thread died because of STL error: Reading data: Connection reset by peer

2010-05-26 Thread David J Craigon
Hello, I'm trying to use zone transfers but they are not working. With the logging turned up high, I am getting "TCP Connection Thread died because of STL error: Reading data: Connection reset by peer" in /var/log/messages. I only get one record sent. This is even when doing dig -t AXFR @localhos

Re: [Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread bert hubert
On Wed, May 26, 2010 at 11:01:38AM +0200, Stephane Bortzmeyer wrote: > [BTW, it would be better to do so on a ticketing system but I cannot > find a way to create a new ticket in the PowerDNS Trac.] There is some anti-spam trickery: TO FILE BUGS, OR CHANGE THE WIKI, CLICK 'LOGIN' ABOVE, USERNAME a

Re: [Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread Stephane Bortzmeyer
[BTW, it would be better to do so on a ticketing system but I cannot find a way to create a new ticket in the PowerDNS Trac.] On Wed, May 26, 2010 at 10:55:47AM +0200, bert hubert wrote a message of 26 lines which said: > Could you split line 1508 as follows: > > NetmaskGroup* oldAllowFrom =

Re: [Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread bert hubert
On Wed, May 26, 2010 at 10:18:43AM +0200, Stephane Bortzmeyer wrote: > It was properly compiled but the Makefile contains a 'strip > $(DESTDIR)/$(SBINDIR)/pdns_recursor' :-( Debugging the non-installed For installed binaries, this is common. > OK, the ACL parsing is not robust enough. What is str

Re: [Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread Stephane Bortzmeyer
On Wed, May 26, 2010 at 10:08:41AM +0200, bert hubert wrote a message of 33 lines which said: > In fact, this is so little difference that I wonder if it really was > compiled with -g, can you double check? It was properly compiled but the Makefile contains a 'strip $(DESTDIR)/$(SBINDIR)/pdns

Re: [Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread bert hubert
On Wed, May 26, 2010 at 09:29:57AM +0200, Stephane Bortzmeyer wrote: > % pdns_recursor > % uname -a > NetBSD golgoth 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Oct 1 15:46:16 CEST 2009 > steph...@golgoth:/usr/obj/sys/arch/i386/compile/GENERIC i386

[Pdns-users] [recursor] Segmentation fault at startup

2010-05-26 Thread Stephane Bortzmeyer
% pdns_recursor May 26 09:12:12 PowerDNS recursor 3.2 (C) 2001-2010 PowerDNS.COM BV (May 26 2010, 08:46:38, gcc 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) starting up May 26 09:12:12 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is fre