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
sudo vim /etc/bind/named.conf.default-zones
zone "your-zone" {
type master;
file "/etc/bind/your-file-name";
};
Option | Description |
---|---|
zone | start to create zone file |
rev-zone | start to create reverse zone file |
./dns-maker.py zone
or
./dns-maker.py rev-zone