Coder Social home page Coder Social logo

zonebuild's Introduction

zonebuild

  • Generate DNS zones from dn42 registry files

Installation

  • Prepare:

    apt-get update
    apt-get install bind9 monotone git python3
    cd /etc/bind
  • Clone:

    git clone git://github.com/nixnodes/zonebuild.git
  • Compile and install zbuild:

cd zonebuild
make clean
./configure
sudo make install
  • Configure:

    vi scripts/config.user

    REGISTRY_BASE_PATH=/etc/bind
    REGISTRY_PATH=${REGISTRY_BASE_PATH}/net.dn42.registry/data
    OUT_PATH=/etc/bind
    
    • Data is written in $OUT_PATH/<tier[0-2]|res|ipv6>/
    • Registry repo will be created in $REGISTRY_BASE_PATH

    Default settings are stored inscripts/config, all changes should be put in scripts/config.user

Run:

Execute with absolute path:

  • Build reverse and forward tier1 and tier2 zones, self update before running:

    /etc/bind/zonebuild/scripts/run.sh arpa zone -update

    • include "$REGISTRY_BASE_PATH/tier<1|2>/named.conf";
  • Build root zones (<a-z>.root-servers.dn42):

    /etc/bind/zonebuild/scripts/run.sh root -update

    • include "$REGISTRY_BASE_PATH/tier0/named.conf";
  • Build resolver files:

    /etc/bind/zonebuild/scripts/run.sh res -update

    • include "$REGISTRY_BASE_PATH/res/named.conf";
    • NOTE you have to restart your bind the first time you include this configuration, after running rndc reload the new root hints will not be used.

zonebuild's People

Contributors

atlaua avatar drathir avatar mic92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.