Create account Login Webmail Contact Us

How to setup a name server using BIND
Posted by Mike C. on 11 September 2009 11:51 PM
First of all I suggest you use BIND9. This comes with most distros now adays (with exception of 4.x). You can start by installing it from ports. If you don't know how to use ports refer to my other articles about the subject. Type "cd /usr/ports/dns/bind9 ; make install" to start the installation. If there are no errors then it will be installed. The reason I say to install from ports (over the base install or beside it) is so that you are running a current version with any bug fixes that might have been updated in the releases. Its always important to stay current with software becuase you never know what type of bugs are found. For the remainder of this you need to follow what is written here:

The handbook comes highly recommended to anyone trying to better themselves in FreeBSD.

After you are done setting up bind you can update rc.conf with:

named_flags="-u bind -c /etc/namedb/named.conf"

This is all assuming that you installed bind9 from ports and did not overwrite base in the options. This also assumes that your named.conf is in /etc/namedb/. There is a lot of good material about maintaining a nameserver the correct way and how to setup slaves and what-not. I think that this article will point you in the right direction.
(435 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: