--== Ubuntu ==--
sudo apt install bind9

(Optional. Some hosts like Vultr don't allow hosting DNS servers with recursion)
sudo vi /etc/bind/named.conf.options
  recursion no;
  additional-from-cache no;

sudo vi /etc/bind/named.conf.local
zone "hivebedrock.network" IN {
        type master;
        file "db.hivebedrock.network";
        allow-query { any; };
};


cd /var/cache/bind
sudo vi db.hivebedrock.network
@       in      SOA  hivebedrock.network. admin.hivebedrock.network. (
                                2014030801      ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum

@       NS      hivebedrock.network.

                  IN      A       104.238.179.174



sudo service bind9 restart
dig @104.238.179.174 hivebedrock.network any

--== CentOS ==--

yum install bind9

(Optional. Some hosts like Vultr don't allow hosting DNS servers with recursion)
sudo vi /etc/bind/named.conf.options
  recursion no;
  additional-from-cache no;

sudo vi /etc/bind/named.conf.local
zone "hivebedrock.network" IN {
        type master;
        file "db.hivebedrock.network";
        allow-query { any; };
};


cd /var/cache/bind
vi db.hivebedrock.network
@       in      SOA  hivebedrock.network. admin.hivebedrock.network. (
                                2014030801      ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum

@       NS      hivebedrock.network.

                  IN      A       104.238.179.174



service bind9 restart
dig @104.238.179.174 hivebedrock.network any
