0
I Use This!
Inactive
Analyzed about 7 hours ago. based on code collected about 7 hours ago.

Project Summary

Ruby development framework for Power DNS Pipe BackendA lot of cases require custom DNS responses based on location, time of day, monitoring status or many other situations, traditional DNS hosting systems makes this very hard. PowerDNS makes this a bit easier for the skilled hacker with it's Pipe Backend but the documentation and implementation details can be quite scary, what if someone made a simple framework to make this easy? This is that framework.

The simplest way to show what it does is by example, here is a record that does Geo Location based responses for www.your.net:

module Pdns
newrecord("www.your.net") do |query, answer|
case country(query[:remoteip])
when "US", "CA"
answer.content "64.xx.xx.245"

when "ZA", "ZW"
answer.content "196.xx.xx.10"

else
answer.content "78.xx.xx.140"
end
end
endPlace this file in /etc/pdns/records/www.your.net.prb and it would get served with full Geo capability. Replace it with a newer version and it will be reloaded and served without any need to restart your pdns server.

The language is Ruby, a number of language extensions and helper functions are provided to do common things like Geo lookups, randomization and so forth and effort has been made to make it intuitive even for non programmer to write simple records, perhaps by using recipes on this site. Being that you have the full power of ruby at your hands right in your nameserver, the possibilities is not just GeoDNS but really anything you can imagine.

This framework allows you to do this and much more. Look at the Introduction page in the wiki for more overview information.

I aim to make this the ideal platform to build Cloud services on, developers and platform managers need fine control over their DNS, traffic and locations of their services.

Current Release: 0.5 fixed issues, Release Notes

Full Changelog

Tags

dns dnsmanagement pdns powerdns ruby

In a Nutshell, ruby-pdns...

Quick Reference

GNU General Public License v2.0 or later
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    check out hot projects on the Open Hub
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    data presented on the Open Hub is available through our API

Languages

Languages?height=75&width=75
XML
69%
Ruby
31%

30 Day Summary

Mar 27 2018 — Apr 26 2018

12 Month Summary

Apr 26 2017 — Apr 26 2018

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!