[Pdns-users] PowerDNS backend
Roman Gaufman
hackeron at gmail.com
Mon Feb 4 09:46:31 UTC 2013
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 will check it out :) - right now I also read the
openvpn ipp.txt file every time it changes to give vpn clients their own
hostname so the pipe backend gives a bit more flexibility, but will
definitely check out the remotebackend!
On 4 February 2013 09:39, RBK1001 <Paul.Sun at syniverse.com> wrote:
>
> 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 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::Pipe.new.run! do
> > answer :name => question.name, :type => 'A', :ttl => 60, :content =>
> > '1.2.3.4'
> > end
> >
> > 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 query a RESTFUL Rails API.
> >
> > Roman
> >
> > On 4 February 2013 09:29, RBK1001 <Paul.Sun at syniverse.com> wrote:
> >
> >>
> >> 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 regression-test direcory, as it is quiet
> helpul
> >> > for testing your backend.
> >> >
> >> > Regards,
> >> > Ruben
> >> >
> >> > RBK1001 <Paul.Sun at syniverse.com> wrote:
> >> >
> >> >>
> >> >>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, and we would like to intergrate powerdns with it, is
> there
> >> >>anyway we can do?
> >> >>
> >> >>- rbk
> >> >
> >> > --
> >> > Regards,
> >> > Ruben
> >> > _______________________________________________
> >> > Pdns-users mailing list
> >> > Pdns-users at mailman.powerdns.com
> >> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://old.nabble.com/PowerDNS-backend-tp34979116p34979385.html
> >> Sent from the PowerDNS mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Pdns-users mailing list
> >> Pdns-users at mailman.powerdns.com
> >> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >>
> >
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/PowerDNS-backend-tp34979116p34979413.html
> Sent from the PowerDNS mailing list archive at Nabble.com.
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130204/f3390187/attachment-0001.html>
More information about the Pdns-users
mailing list