The bifrost project is designed to setup a BIND9 DNS server
on Ubuntu 20.04
.
This script requires root privileges
or sudo
.
- Clone this repository
git clone https://github.com/vickyphang/bifrost.git
- Edit the variables in
install.sh
#!/usr/bin/env bash
# VARIABLES
ROOT_DOMAIN=example.com
DNS_IP=10.0.0.53
DNS_NAME=local-dns
...
- Adds execute permission to
install.sh
chmod +x install.sh
- Execute script
./install.sh
- Edit
/etc/resolv.conf
...
nameserver 10.0.0.53
- Run nslookup
ubuntu@server1:/home/ubuntu$ nslookup example.com
Server: 10.0.0.53
Address: 10.0.0.53#53
Name: example.com
Address: 10.0.0.53
ubuntu@server1:/home/ubuntu$ nslookup local-dns.example.com
Server: 10.0.0.53
Address: 10.0.0.53#53
Name: local-dns.example.com
Address: 10.0.0.53