Re: [Pdns-users] Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-04-05 Thread fredrik danerklint
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


Re: [Pdns-users] Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-04-05 Thread fredrik danerklint
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. :-)
> 
> Congratulations, and I very much hope you'll make the source available
> once you feel confident.
> 
> -JP

-- 
//fredan
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-04-04 Thread Jan-Piet Mens
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. :-)

Congratulations, and I very much hope you'll make the source available
once you feel confident.

-JP
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] Mongo DB and PowerDNS part 3: Now with DNSSEC

2011-04-03 Thread fredrik danerklint
:-)

$ 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, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 2800
;; QUESTION SECTION:
;www.example.com.   IN A

;; ANSWER SECTION:
www.example.com.120 IN CNAME outpost.example.com.
www.example.com.120 IN RRSIG CNAME 8 3 120 2011041400 (
2011033100 17529 example.com.
WmSzwwHutHqfK5YyZt4bIQq1FDYG9SNDDLydJP9ytAIJ
lFKI9E4rk/p4aHe50CegeXX5HN+mf2dUCZmTbJq/dwsg
RXXFwI9EJKazB6AfQEDNTKk0FrddtYnTqWiZkGh7Zj1E
YdxgHcobbOTRxfycXFUrWVA0ORUldiYE3u0UHPU= )
outpost.example.com.120 IN A 192.168.2.1
outpost.example.com.120 IN RRSIG A 8 3 120 2011041400 (
2011033100 17529 example.com.
HwUVIcOaUmMWw/5M7xIet0gF52MV2Ej4Bd5WAiS+epWu
VkELlKMTqS0rtVy7nKGzJvg7nfz5ZKe+NLEwDu27YSB4
F0DsI//3lzkSgnfC580jWCejb7/N3RqoDd7yYhaaCaV6
fk5TPgE6OwnmxUMJmnyQTBIwxl9Lxe8/wRqyvPo= )

;; Query time: 43 msec
;; SERVER: 127.0.0.1#5300(127.0.0.1)
;; WHEN: Sun Apr  3 20:05:59 2011
;; MSG SIZE  rcvd: 424


-- 
//fredan
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] Mongo DB and PowerDNS part 2

2011-03-26 Thread fredrik danerklint
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: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;www.example.com.   IN  A

;; ANSWER SECTION:
www.example.com.3600IN  CNAME   webserver.example.com.
webserver.example.com.  3600IN  A   1.2.3.4
webserver.example.com.  3600IN  A   1.2.3.5
webserver.example.com.  3600IN  A   1.2.3.6

;; Query time: 7 msec
;; SERVER: 127.0.0.1#5300(127.0.0.1)
;; WHEN: Sat Mar 26 16:06:15 2011
;; MSG SIZE  rcvd: 105

The content of the database looks like this:
 
{ "domain_id" : 1, "name" : "example.com", "type" : "SOA", "ttl" : 3600, 
"content" : ["ahu.example.com ns1.example.com 2008080300 1800 3600 604800 
3600"] }
{ "domain_id" : 1, "name" : "example.com", "type" : "TXT", "ttl" : 3600, 
"content" : [ "hallo allemaal!"] }
{ "domain_id" : 1, "name" : "example.com", "type" : "NS", "ttl" : 3600, 
"content" : ["ns1.example.com", "ns2.example.com"] }
{ "domain_id" : 1, "name" : "webserver.example.com", "type" : "A", "ttl" : 
3600, "content" : ["1.2.3.4", "1.2.3.5", "1.2.3.6" ] }
{ "domain_id" : 1, "name" : "www.example.com", "type" : "CNAME", "ttl" : 3600, 
"content" : ["webserver.example.com"] }

-- 
//fredan
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Mongo DB and Powerdns

2011-03-16 Thread Jan-Piet Mens
> The performance is bad when the query caches are disabled as is
> documented in the perl code. Once those are enabled, it should
> sing.

Correct, and I should have replied so to original poster, though I did
write in the blog post "You can, however, make it blindingly fast by
tuning the cache values for PowerDNS".

-JP
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Mongo DB and Powerdns

2011-03-15 Thread Kenneth Marshall
On Tue, Mar 15, 2011 at 01:28:14PM +0100, bert hubert wrote:
> On Mon, Mar 14, 2011 at 07:34:15PM +0100, Jan-Piet Mens wrote:
> > To my knowledge there is no such back-end. What I have done is a
> > PowerDNS pipe back-end to CouchDB. Performance is lousy of course, but I
> > did it as a proof of concept, and it works ok. I've written about it at
> 
> If the performance is lousy, it is not due to the pipe backend. People run
> it at very very high query rates. There is no reason why a pipe should be
> slower than (say) a TCP/IP socket to MySQL.
> 
> I am aware of several "native" CouchDB backends, but none has been released
> pubicly as far as I know.
> 
>   Bert

The performance is bad when the query caches are disabled as is
documented in the perl code. Once those are enabled, it should
sing.

Cheers,
Ken
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Mongo DB and Powerdns

2011-03-15 Thread bert hubert
On Mon, Mar 14, 2011 at 07:34:15PM +0100, Jan-Piet Mens wrote:
> To my knowledge there is no such back-end. What I have done is a
> PowerDNS pipe back-end to CouchDB. Performance is lousy of course, but I
> did it as a proof of concept, and it works ok. I've written about it at

If the performance is lousy, it is not due to the pipe backend. People run
it at very very high query rates. There is no reason why a pipe should be
slower than (say) a TCP/IP socket to MySQL.

I am aware of several "native" CouchDB backends, but none has been released
pubicly as far as I know.

Bert
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Mongo DB and Powerdns

2011-03-14 Thread Jan-Piet Mens
> I'm asking if some has or is doing a backend for Mongo DB?

Funny you ask: I was thinking about that just the other day. MongoDB's
replication (as well as that of a number of other NoSQL implementations)
would fit nicely.

To my knowledge there is no such back-end. What I have done is a
PowerDNS pipe back-end to CouchDB. Performance is lousy of course, but I
did it as a proof of concept, and it works ok. I've written about it at
[1].

-JP

[1] http://blog.fupps.com/2010/05/05/powerdns-and-a-couchdb-backend/
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] Mongo DB and Powerdns

2011-03-14 Thread fredrik danerklint
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