GithubHelp home page GithubHelp logo

build_tinydns's Introduction

build_tinydns

This is the module that will enable the ability to extract and build a TinyDNS server configurations from the database. It will output the configuration text that would normally be located in a data.cdb file.

Install

  • If you have not already, run the following command echo '/opt/ona' > /etc/onabase. This assumes you installed ONA into /opt/ona
  • Ensure you have the following prerequisites installed:
    • A TinyDNS server installation. It is not required to be on the same host as the ONA system.
    • sendEmail for notification messages. Download here or use the package from your distribution.
    • A functioning dcm.pl install on your DNS server.
  • Download the archive and place it in your $ONABASE/www/local/plugins directory, the directory must be named build_tinydns
  • Make the plugin directory owned by your webserver user I.E.: chown -R www-data /opt/ona/www/local/plugins/build_tinydns
  • From within the GUI, click Plugins->Manage Plugins while logged in as an admin user
  • Click the install icon for the plugin which should be listed by the plugin name
  • Follow any instructions it prompts you with.
  • Modify the variables at the top of the build_tinydns script to suit your environment.

.... Read the top portion of the build_tinydns script for further details....

build_tinydns's People

Contributors

mattpascoe avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

cloudxtreme

build_tinydns's Issues

Allow for local config

Currently if you modify the email settings or the system init or other variables at the top of the build script, they will be overridden the next time you do an update to the plugin. We should add a . include reference to a local config file if it exists that will override anything set in the main script.

email bypass

The script should allow users to disable the email sends if desired.

check that MAIL_TO is empty or not. If its empty, dont send an email

txtnotes should be removed

on about line 227 of build_tinydns.inc.php there is a if block that allows one to use the host notes field to build TXT records. Seems silly and a backdoor thing. I suspect this was old code and that it was there before the proper creation of TXT records. Have a look at it and remove it if possible.

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.