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
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
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
, 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
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
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.
# netstat -ln
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:
Here is a patch for the luabackend.
___
Pdns
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,
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, this
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
notifications
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
'notified_serial' than 'serial
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::mainloop(void) that checks slave and master
every other 'slave
Nikolas,
PowerDNS ask each backend for domains which has a different 'notified_serial'
than 'serial' for the domain.
This function is called getUpdatedMasters(vectorDomainInfo* domains) and
exists in the source file 'master.cc' for MongoDB backend.
What PowerDNS except after a call to this
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 = host.test.com}
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
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
PowerDNS.
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
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
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:
As Im
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. :-)
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
I think you forgott to update the packethandler.hh ;-)
packethandler.cc:311: error: prototype for ‘bool
PacketHandler::getBestWildcard(DNSPacket*, SOAData, const string,
std::vectorDNSResourceRecord, std::allocatorDNSResourceRecord *)’ does not
match any in class ‘PacketHandler’
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, ADDITIONAL:
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
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
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
28 matches
Mail list logo