Skip to content

create dns zone file for bind server with python

Notifications You must be signed in to change notification settings

afourteene/dns-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instalation

Befor all please install bind server.

Installation on ubuntu

sudo apt install bind9 bind9utils 
git clone https://github.com/amirziaee/dns-maker.git
cd dns-maker
chmod +x dns-maker.py
./dns-maker.py option
cp ./outputs/yourfile-name /etc/bind

Add your file to named-config-default-zone

sudo vim /etc/bind/named.conf.default-zones

zone "your-zone" {
type master;
file "/etc/bind/your-file-name";
};

Tables

Option Description
zone start to create zone file
rev-zone start to create reverse zone file

Example

./dns-maker.py zone

or

./dns-maker.py rev-zone

About

create dns zone file for bind server with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages