0
I Use This!
Inactive
Analyzed 2 days ago. based on code collected 2 days 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.

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    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
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    search using multiple tags to find exactly what you need

Languages

XML
67%
Ruby
33%

30 Day Summary

Oct 22 2024 — Nov 21 2024

12 Month Summary

Nov 21 2023 — Nov 21 2024

Ratings

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