Giter Site home page Giter Site logo

kissdns's Introduction

NAME

KissDNS - A simple and stupid web-based DNS management system.

PRINCIPLE

By far, the most widely used DNS software is BIND. There are too many artices wrote about configure of BIND9 and its views, and also some web-based management systems by using the DLZ(dynamically loaded zones) support with mysql. But first, we can absolutely know that the performace with DLZ should be much lower than text configuaration in memory. Second, the normal views are only cnc/ct/edu etc. But in CDNs, there will be hundreds of views. How to manage those? So here is KissDNS. I try to reuse existing things as simple as possible ---- basic install and configure for bind9, basic SQL to get/set informations. This means I do not need to generate views from MySQL tables. So, The idea of system can be seen as follow:

Have a template table with columns named viewid/view_alias/ip/querysum in database. Every canonical name domain provided to customers will have a table created as the template.
Then we can update the currect domain table by rows if we click the 'save' button after we modify one record of the resolve.

Every view have their own configuration. And there are a template record with normal currect IP in every configuration of views.
When we create a new table from template, we traverse the views directory and add the new domain record copied from template record to all configurations.
When we update the record in a table, we find the just view, editor the just string and reload the bind.
That is all!

TODO

1 An api to import new template into database and config texts.
2 A script to sum the query numbers from query.log and update the records in database.

DEPENDENCIES

Dancer, DBD::mysql, Template, YAML, File::Slurp

AUTHOR

([email protected]) Jeff.Rao @ARGV http://chenlinux.com/

COPYRIGHT

Copyright (c) 2012, Jeff.Rao. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

kissdns's People

Contributors

chenryn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.