Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 1.2 KB

README.md

File metadata and controls

65 lines (49 loc) · 1.2 KB

Bifrost 🎇

GitHub license GitHub stars

The bifrost project is designed to setup a BIND9 DNS server on Ubuntu 20.04.


Requirements

This script requires root privileges or sudo.

Deployment: quick start

  1. Clone this repository
git clone https://github.com/vickyphang/bifrost.git
  1. 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

...
  1. Adds execute permission to install.sh
chmod +x install.sh
  1. Execute script
./install.sh

Verify Operation

  1. Edit /etc/resolv.conf
...

nameserver 10.0.0.53
  1. 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