Project

General

Profile

Support #484

Installing BIND 9 on FreeBSD

Added by Daniel Curtis almost 6 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Domain Name Server
Target version:
Start date:
11/29/2014
Due date:
% Done:

100%

Estimated time:
1.50 h
Spent time:

Description

A name server is one of the most critical servers on a network, it allows for the translation of host names into IP addresses; as well as a few other really neat functions. This is a guide for setting up a simple DNS server along with Webmin for graphical administration.

  • Install BIND:
    pkg install bind912 bind-tools
    
  • Start and enable BIND at boot:
    sysrc named_enable="YES" 
    service named start
    
    • NOTE: Since I am already running my DNS inside of a jail I need to disable automatic chrooting of BIND via the following command:
      sysrc named_chrootdir="" 
      

GUI Frontend

  • Install Webmin
    pkg install webmin
    
  • Enable Webmin at boot:
    echo 'webmin_enable="YES"' >> /etc/rc.conf
    
  • Run the Webmin setup.sh script in order to setup the various config files:
    /usr/local/lib/webmin/setup.sh
    
  • Log into the Webmin panel and go to Servers -> BIND DNS Server -> Edit Config File and change the listen-on parameter so the DNS server will listen on the network:
    listen-on    { 192.168.16.66; };
    

History

#1 Updated by Daniel Curtis almost 6 years ago

  • Description updated (diff)

#2 Updated by Daniel Curtis almost 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#3 Updated by Daniel Curtis over 5 years ago

  • Status changed from Resolved to Closed

#4 Updated by Daniel Curtis over 5 years ago

  • Target version set to FreeBSD 9

#5 Updated by Daniel Curtis over 5 years ago

  • Category set to Domain Name Server

#6 Updated by Daniel Curtis about 2 years ago

  • Description updated (diff)
  • Target version changed from FreeBSD 9 to FreeBSD 11

Also available in: Atom PDF