Skip to content

Bash script for quickly installing an BIND9 DNS server on Ubuntu

License

Notifications You must be signed in to change notification settings

vickyphang/bifrost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bash script for quickly installing an BIND9 DNS server on Ubuntu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages