Re: [Pdns-users] PowerDNS Backend MySQL QPS

2016-07-19 Thread Kenneth Marshall
On Tue, Jul 19, 2016 at 03:41:37AM +0700, Genzo Rey wrote: > Dear All, > > I'm looking for new Nameserver solutions for my company. I build 1 VPS > PowerDNS 512 MB RAM and 1 VPS MySQL 512MB RAM to test performance (qps). > This is my results: > > [Status] Sending queries (to 192.168.10.143) > [St

Re: [Pdns-users] PowerDNS Backend MySQL QPS

2016-07-18 Thread Genzo Rey
art91091 Email: lionheart91...@outlook.com, lionheart91...@gmail.com, lionheart91...@icloud.com -Original Message- From: bert hubert [mailto:bert.hub...@powerdns.com] Sent: Tuesday, July 19, 2016 03:47 To: Genzo Rey Cc: pdns-users@mailman.powerdns.com Subject: Re: [Pdns-users] PowerDNS Bac

Re: [Pdns-users] PowerDNS Backend MySQL QPS

2016-07-18 Thread bert hubert
On Tue, Jul 19, 2016 at 03:41:37AM +0700, Genzo Rey wrote: > I'm looking for new Nameserver solutions for my company. I build 1 VPS > PowerDNS 512 MB RAM and 1 VPS MySQL 512MB RAM to test performance (qps). > This is my results: Hi Genzo, Did you try 10 unique queries? Secondly, which versio

[Pdns-users] PowerDNS Backend MySQL QPS

2016-07-18 Thread Genzo Rey
Dear All, I'm looking for new Nameserver solutions for my company. I build 1 VPS PowerDNS 512 MB RAM and 1 VPS MySQL 512MB RAM to test performance (qps). This is my results: [Status] Sending queries (to 192.168.10.143) [Status] Started at: Tue Jul 19 02:58:04 2016 [Status] Stopping after

Re: [Pdns-users] PowerDNS backend for CIDR based bulk CPE definitions (via pgsql)

2015-05-11 Thread Dean Hamstead
The README file describes motivations behind design choices. Dean On 11/05/15 21:55, Aki Tuomi wrote: > On Mon, May 11, 2015 at 03:29:34PM +1000, Dean Hamstead wrote: >> Dear Pdns-Users >> >> I am hoping for feedback on a proof of concept (aka quick hack) that >> has powerdns serve forward and re

Re: [Pdns-users] PowerDNS backend for CIDR based bulk CPE definitions (via pgsql)

2015-05-11 Thread Aki Tuomi
On Mon, May 11, 2015 at 03:29:34PM +1000, Dean Hamstead wrote: > Dear Pdns-Users > > I am hoping for feedback on a proof of concept (aka quick hack) that > has powerdns serve forward and reverse DNS records from a template > and a list of cidr's - implemented via gpgsql. Let's call it a > quasi-ba

[Pdns-users] PowerDNS backend for CIDR based bulk CPE definitions (via pgsql)

2015-05-10 Thread Dean Hamstead
Dear Pdns-Users I am hoping for feedback on a proof of concept (aka quick hack) that has powerdns serve forward and reverse DNS records from a template and a list of cidr's - implemented via gpgsql. Let's call it a quasi-backend. The use case is having millions of forward and reverse records

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread fredrik danerklint
one silly question. even I need to write my own backend, I still need to use pipebackend option, rite? Or you can use the Luabackend, which was written precisely to solve issues like yours. -- //fredan ___ Pdns-users mailing list Pdns-users@mailman.

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
If you have your own backend, you can use pipe or remote to adapt to it. That's the whole point of pipe/remotebackend. It lets you easily write adapters to speak with custom backends. These enable you to communicate with custom stuff very easily. Look at the script I sent earlier. Writing native

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread RBK1001
Thanks THis is what I confused. the information on how to write the native backend seems telling how to write the backend? but I actually have the backend in place, just that pDNS cannot comnuicate with it. so my question is whether I should write an adapter and embedded in pDNS or else? I just

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
You might want to use pipe/remotebackend to model your backend first, as you can use "whatever" you want to write this model. Once you understand this, you could then convert it to a native C++ backend. Please refer to doc.powerdns.com on how to write a native backend. Aki On Tue, Feb 05, 2013 a

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread RBK1001
understand. I actually have a client that accessing my customerize non-sql backend. It looks like I need to create a C application to work with the pDNS. is there any sample that I can refer to. - rbk Aki Tuomi wrote: > > Um. No. > > It's like this: > > pipe and remotebackends act as cond

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
Um. No. It's like this: pipe and remotebackends act as conduits that let you use whatever as the real backend by converting the requests into some plain text format. Such as tab separated query or json. This lets you use script languages (perl,ruby,python,sh,whatnot) as the actual backend, and

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread RBK1001
Hi Aki understood. one silly question. even I need to write my own backend, I still need to use pipebackend option, rite? - rbk Aki Tuomi wrote: > > It is difficult to measure performance for scripted APIs as that depends > on > what you do in the backend. However, due to reasons like JSON

Re: [Pdns-users] PowerDNS backend

2013-02-05 Thread Aki Tuomi
It is difficult to measure performance for scripted APIs as that depends on what you do in the backend. However, due to reasons like JSON parsing and generally more complex processing, remotebackend is probably slower than equivalent pipe backend. The best performance can be gained by writing

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread RBK1001
Thanks Considering performance, which backend should I used? Aki Tuomi wrote: > > And now that I started making this, it became evident that remotebackend > has a > major failure in it. Good news is that there is a patch for it in ticket > #697 > > The sample script is here: http://cmouse.d

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread Aki Tuomi
And now that I started making this, it became evident that remotebackend has a major failure in it. Good news is that there is a patch for it in ticket #697 The sample script is here: http://cmouse.desteem.org/remote.rb Aki Tuomi On Mon, Feb 04, 2013 at 01:08:48PM +0200, Aki Tuomi wrote: > Hi!

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread Aki Tuomi
Hi! I'll create a sample script for you. Aki On Mon, Feb 04, 2013 at 01:56:22AM -0800, RBK1001 wrote: > > Hi > > I need more information on how I can perform Remote Backend? is there any > more information that I can refer to? > > - rbk > > > Roman Gaufman-2 wrote: > > > > PowerDNS can fo

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread RBK1001
Hi I need more information on how I can perform Remote Backend? is there any more information that I can refer to? - rbk Roman Gaufman-2 wrote: > > PowerDNS can fork the process as many times as you configure using > the distributor-threads option. > > The good thing is the process remains r

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread Roman Gaufman
PowerDNS can fork the process as many times as you configure using the distributor-threads option. The good thing is the process remains running and kept running by PowerDNS's guardian so I think it will be more limited by your process than by PowerDNS :) Re: Peter van Dijk Thank you for that, I

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread Peter van Dijk
Hello Roman, On Feb 4, 2013, at 10:35 , Roman Gaufman wrote: > The above is an example written in Ruby, but really it just reads DNS > requests from STDIN and writes DNS responses to STDOUT. You can add any > custom code that will figure out the IP to your question - in my case I plan > to que

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread RBK1001
Hi Thank for the reply. If using pipebackend/bindbackend, is the performance acceptable when comparing within mysql/pgsql? - rbk Roman Gaufman-2 wrote: > > I really love the simplicity of pipe backend and why I use powerdns > instead > of say bind, all you need to really do is add this to yo

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread Roman Gaufman
I really love the simplicity of pipe backend and why I use powerdns instead of say bind, all you need to really do is add this to your pdns.conf: launch=pipe,bind pipe-command=/etc/powerdns/dns_pipe.rb And in your script, you can have something as simple as: require 'powerdns_pipe' PowerDNS::Pip

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread RBK1001
Hi Thank for the information. I have a bit confused on the the pipebackend and bind backend, which one should I use? - rbk Ruben '_cyclops_' d'Arco wrote: > > Hi, > > This should be helpful as a first start: > http://doc.powerdns.com/backend-writers-guide.html > > Also have a look at the

Re: [Pdns-users] PowerDNS backend

2013-02-04 Thread Aki Tuomi
Or you can employ pipebackend or remotebackend if you don't want to write the backend completely yourself. These provide script-based API to use, which can be easier to employ than writing a backend. Documentation for these can be found from http://doc.powerdns.com/. If you need DNSSEC, you'll wan

Re: [Pdns-users] PowerDNS backend

2013-02-03 Thread Ruben d'Arco
Hi, This should be helpful as a first start: http://doc.powerdns.com/backend-writers-guide.html Also have a look at the regression-test direcory, as it is quiet helpul for testing your backend. Regards, Ruben RBK1001 wrote: > >Hi > >we would like to seek for an advice on the use of back

[Pdns-users] PowerDNS backend

2013-02-03 Thread RBK1001
Hi we would like to seek for an advice on the use of backend. we understood that PowerDNS offers several backend solutions, however, I would like to know is there a way to connect to our customerized backend? Currently, we are using a non-sql customerized backend with large amount of data stored