The problem is that both pdns and mongodb exports same functions with
different implementations:
This is the same problem that I have with the luabackend.
Since PowerDNS links lua directly into to executable, you need
to run the same lua version in the luabackend aswell.
When I was trying to f
I'm the author for the mongodb backend.
It was me who told Peter and Bert to delete the backend from PowerDNS.
The reason for this was simple. When the client of Mongodb
(libmongoclient.a) initialize, it will run through a number of internal
test to see that everything is ok. One of those test
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.
, 2013, at 19:39 , fredrik danerklint wrote:
Can now be found at
https://github.com/fredan/luabackend
Would you like the docs and/or README on our end to say something
about that?
Kind regards,
--
//fredan
___
Pdns-users mailing list
Pdns-users
Yes, that would be nice!
2013-01-11 08:42, Peter van Dijk skrev:
Hello Fredrik,
On Jan 10, 2013, at 19:39 , fredrik danerklint wrote:
Can now be found at
https://github.com/fredan/luabackend
Would you like the docs and/or README on our end to say something about that?
Kind regards
Can now be found at
https://github.com/fredan/luabackend
--
//fredan
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
sorry about the noise. didn't think clear enough to realize that I
already using port 53 on that machine! nothing to see here! move along!
2012-01-15 17:46, fredrik danerklint skrev:
Trying to start recursor on FreeBSD 8.2
Please tell me what I have missed in the configuration.
# netsta
Trying to start recursor on FreeBSD 8.2
Please tell me what I have missed in the configuration.
# netstat -ln -p udp
# /usr/local/etc/rc.d/pdns-recursor start
Starting pdns_recursor.
Jan 15 17:41:40 PowerDNS recursor 3.3 (C) 2001-2010 PowerDNS.COM BV (Jan
9 2011, 05:22:37, gcc 4.2.1 20070719
Hi!
This is an update to make the function getUpdatedMasters a little faster since
it now use server-side processing instead of client processing.
(and also the performance increase for slave discussed earlier - remember:
there is no slave functionality in the backend - yet.).
For reference,
mplement the improved behavior? It seems this
> patch only extends the setFresh() function to accept the refresh value,
> but do not use it.
>
> klaus
>
> On 15.09.2011 16:41, fredrik danerklint wrote:
> > He
Here is a patch for the luabackend.
--
//fredan
Index: test/powerdns-luabackend.lua
===
--- test/powerdns-luabackend.lua (revision 2261)
+++ test/powerdns-luabackend.lua (arbetskopia)
@@ -32,8 +32,10 @@
records["www.test.com"] = {
> > Fun news (I hope for all of you out there)!
>
> It is to me ;-) My love affair with Lua is not ending yet!
Me too. I probably have a few other things that I can see that benefits of
Lua.
> I've merged this contribution in 2208, and added it to the default deb and
> rpm builds. To be fair, t
Hi everybody!
Fun news (I hope for all of you out there)!
The Luabackend has been sent to Bert and waiting to be included in the source
code of PowerDNS. The backend has the functionality for dnssec support too!
Please keep in mind that the backend itself cannot be used directly right now
sinc
> So, please, be so kind as to answer one more question: When PDNS queries
> backends for updated serials, does it provide them with a list of the
> 'notified_serial's (as per your explanation in a previous post of
> yours), that is, a list of all serials which it has previously used in
> notificat
> On 26/5/2011 3:44 μμ, fredrik danerklint wrote:
> > Nick,
> >
> > To answer all of your questions, please take a look at the source file
> > 'communicator.cc'. At the end of that file there is a function called
> > "void CommunicatorClass::mainlo
onds (parameter taken from the pdns.conf
file). I assume that this function is running in a seperate thread.
This is how PowerDNS knows when to send a update to other nameservers.
> On 25/5/2011 11:25 μμ, fredrik danerklint wrote:
> > PowerDNS ask each backend for domains which has a different
Nikolas,
PowerDNS ask each backend for domains which has a different 'notified_serial'
than 'serial' for the domain.
This function is called getUpdatedMasters(vector* domains) and
exists in the source file 'master.cc' for MongoDB backend.
What PowerDNS except after a call to this function is
I think I have found the problem with the threads problem. I can now run with
more than one thread in PowerDNS.
However:
One thread:
Queries per second: 23390.092203 qps
Latency: Min: 0.36 s; Max: 0.020715 s; Avg: 0.43 s; StdDev: 0.27
Two threads:
Queries per second: 14893.5206
> > Not yet since it only can handle the "minimal" (ie: no slave, master or
> > dnssec) or would you like to have this at this stage with just the bare
> > "minimal" ? If so, no problem. I do need some help to be able to
> > understand what cause it to crash if there is more than one thread in
> >
> > This is just a test to see how fast it can be with only two records in
lua:
> So you have a Lua backend? ;-) Can you share?
Not yet since it only can handle the "minimal" (ie: no slave, master or
dnssec) or would you like to have this at this stage with just the bare
"minimal" ? If so, no p
This is just a test to see how fast it can be with only two records in lua:
records["host.test.com"] = {domain_id = 11, name = "host.test.com", type =
"A", ttl = 120, content = "10.11.12.13"}
records["www.test.com"] = {domain_id = 11, name = "www.test.com", type =
"CNAME", ttl = 120, content = "
All test performed on the same machine, which has 16GB of ram and 6 core amd
3,2 Ghz processor. The database is on a raid5 on 6 sata disks.
The database has 16M records for the example.com zone and there is also
another 16M zones too.
I've also run pdnssec secure-zone example.com and it took s
Nick,
Can you send me the examplecom.txt file so that I can test the mongodb
backend?
> Hello,
>
> Just in case someone would like to examine some comparative performance
> results re. various PowerDNS backends with ref. to BIND9, I am posting
> the following tests.
>
--
//fredan
___
erkan,
if you used a script to generate all the data, do you think that you can post
that so I also can run these test against the mongodbbackend?
> Moin Bert,
>
> On Wed, Apr 27, 2011 at 03:15:27PM +0200, bert hubert wrote:
> > On Sat, Apr 23, 2011 at 01:04:51AM +0200, erkan yanar wrote:
> >
Hi!
I've just send the sourcecode of the backend to Bert!
//fredan
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
Heh!
I will release the source very soon, now! Just some documentation left before
bert gets it...
> Fredrik,
>
> > $ dig +dnssec -t A www.example.com @127.0.0.1 -p5300 +multiline
>
> The first thing I did was to check the date on your message, expecting
> you to have sent it on April 1st. :-)
:-)
$ dig +dnssec -t A www.example.com @127.0.0.1 -p5300 +multiline
; <<>> DiG 9.7.1-P2 <<>> +dnssec -t A www.example.com @127.0.0.1 -p5300
+multiline
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63523
;; flags: qr aa rd; QUERY: 1, ANSWER: 4, AUTHORI
I think you forgott to update the packethandler.hh ;-)
packethandler.cc:311: error: prototype for ‘bool
PacketHandler::getBestWildcard(DNSPacket*, SOAData&, const string&,
std::vector >*)’ does not
match any in class ‘PacketHandler’
packethandler.hh:113: error: candidate is: std::vector > Packe
This is from native backend with MongoDB!
$ dig www.example.com A @127.0.0.1 -p5300
; <<>> DiG 9.7.1-P2 <<>> www.example.com A @127.0.0.1 -p5300
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55603
;; flags: qr aa rd; QUERY: 1, ANSWER: 4, AUTHORITY: 0,
I'm working on it. It's gonna be a pipe backend (in c++) because I couldn't
get it to compile as a native backend with the include files from MongoDB at
this moment.
What I need right now is some data to test with.
The readme file in directory regression-tests sad that there should be a file
Hi!
I'm asking if some has or is doing a backend for Mongo DB?
--
//fredan
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
You can use my NoMoreAds for that.
http://www.fredan.org/os/
> Hi,
>
> How I create a zone on recursor to block phishing sites ?
>
> eg.: point the phishing.com domain to my loopback interface 127.0.0.1
>
> zone file exemple
>
> a1964.g.akamai.net. 127.0.0.1
> abakos.com.es.127.0.0.1
There is now a new version of the noads for the pdns_recursor!
This new version now has the possibility to automatically reload one of the
files if they are changed! So all you have to do now is to change the file
and do nothing more.
The patch for the pdns_recursor itself includes a new log f
Since the release of pdns-recursor 3.1.7 you can make externa function with
the help of the LUA language...
Well, what I've done is to take the host file from the site
http://www.mvps.org/winhelp2002/hosts.htm to work with pdns-recursor.
So from now on you don't have to see those annoying ads a
Hi!
I've added my domainkeys to my domain in my bind file like this:
;DomainKeys support...
_domainkey.fredan.se. IN TXT "t=y; o=~;"
Now when I run dig _domainkey.fredan.se TXT
; <<>> DiG 9.2.5 <<>> _domainkey.fredan.se TXT
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: Q
35 matches
Mail list logo