<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=71.170.114.32</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=71.170.114.32"/>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/Special:Contributions/71.170.114.32"/>
		<updated>2026-04-08T06:22:20Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:58:07Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: say &amp;quot;serial&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA serial number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
For example:                        &lt;br /&gt;
 &lt;br /&gt;
    number of zones: 1077&lt;br /&gt;
    debug level: 0&lt;br /&gt;
    xfers running: 0&lt;br /&gt;
    xfers deferred: 0&lt;br /&gt;
    soa queries in progress: 0&lt;br /&gt;
    query logging is OFF&lt;br /&gt;
    recursive clients: 1/0/1000&lt;br /&gt;
    tcp clients: 0/100&lt;br /&gt;
    server is up and running&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason there are thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
* [[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
* bind-users FAQ&lt;br /&gt;
* [[http://www.reedmedia.net/books/bind-dns BIND 9 DNS Administration Reference Book]]&lt;br /&gt;
* [[http://www.netwidget.net/books/apress/dns/ Pro DNS and BIND]]&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:55:40Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: add URL for a resource; this wiki makes this tough&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
For example:                        &lt;br /&gt;
 &lt;br /&gt;
    number of zones: 1077&lt;br /&gt;
    debug level: 0&lt;br /&gt;
    xfers running: 0&lt;br /&gt;
    xfers deferred: 0&lt;br /&gt;
    soa queries in progress: 0&lt;br /&gt;
    query logging is OFF&lt;br /&gt;
    recursive clients: 1/0/1000&lt;br /&gt;
    tcp clients: 0/100&lt;br /&gt;
    server is up and running&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason there are thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
* [[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
* bind-users FAQ&lt;br /&gt;
* [[http://www.reedmedia.net/books/bind-dns BIND 9 DNS Administration Reference Book]]&lt;br /&gt;
* [[http://www.netwidget.net/books/apress/dns/ Pro DNS and BIND]]&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:53:45Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: add two more external resources&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
For example:                        &lt;br /&gt;
 &lt;br /&gt;
    number of zones: 1077&lt;br /&gt;
    debug level: 0&lt;br /&gt;
    xfers running: 0&lt;br /&gt;
    xfers deferred: 0&lt;br /&gt;
    soa queries in progress: 0&lt;br /&gt;
    query logging is OFF&lt;br /&gt;
    recursive clients: 1/0/1000&lt;br /&gt;
    tcp clients: 0/100&lt;br /&gt;
    server is up and running&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason there are thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
* [[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
* bind-users FAQ&lt;br /&gt;
* [[http://www.reedmedia.net/books/bind-dns BIND 9 DNS Administration Reference Book]]&lt;br /&gt;
* Pro DNS and BIND&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:51:55Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: added resourc ein last commit, now add URL&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
For example:                        &lt;br /&gt;
 &lt;br /&gt;
    number of zones: 1077&lt;br /&gt;
    debug level: 0&lt;br /&gt;
    xfers running: 0&lt;br /&gt;
    xfers deferred: 0&lt;br /&gt;
    soa queries in progress: 0&lt;br /&gt;
    query logging is OFF&lt;br /&gt;
    recursive clients: 1/0/1000&lt;br /&gt;
    tcp clients: 0/100&lt;br /&gt;
    server is up and running&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason there are thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
* [[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
* [[http://www.reedmedia.net/books/bind-dns BIND 9 DNS Administration Reference Book]]&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:50:35Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: add resources bullet for resources and grammar fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
For example:                        &lt;br /&gt;
 &lt;br /&gt;
    number of zones: 1077&lt;br /&gt;
    debug level: 0&lt;br /&gt;
    xfers running: 0&lt;br /&gt;
    xfers deferred: 0&lt;br /&gt;
    soa queries in progress: 0&lt;br /&gt;
    query logging is OFF&lt;br /&gt;
    recursive clients: 1/0/1000&lt;br /&gt;
    tcp clients: 0/100&lt;br /&gt;
    server is up and running&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason there are thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
* [[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BIND 9 DNS Administration Reference Book&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:48:36Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: add &amp;quot;rndc status&amp;quot; example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
For example:                        &lt;br /&gt;
 &lt;br /&gt;
    number of zones: 1077&lt;br /&gt;
    debug level: 0&lt;br /&gt;
    xfers running: 0&lt;br /&gt;
    xfers deferred: 0&lt;br /&gt;
    soa queries in progress: 0&lt;br /&gt;
    query logging is OFF&lt;br /&gt;
    recursive clients: 1/0/1000&lt;br /&gt;
    tcp clients: 0/100&lt;br /&gt;
    server is up and running&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason are there thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
[[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_managing</id>
		<title>BIND, managing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_managing"/>
				<updated>2007-09-30T00:31:32Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: it's means &amp;quot;it is&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By far the easiest way to manage BIND is via [[webmin]], where its all GUI click and drop-down menus (see image below). But you should at the very least know how to manage it via command line for systems that you cannot set up [[webmin]] on for whatever reason or for those times when webmin fails.&lt;br /&gt;
&lt;br /&gt;
To add records to a zone, you'll need to find that zone's file, edit it to include the record, '''increase your SOA number''' and reload your server with&lt;br /&gt;
 rndc reload&lt;br /&gt;
&lt;br /&gt;
If your server is a slave and you want it to retransfer the records from the master:&lt;br /&gt;
 rndc retransfer&lt;br /&gt;
&lt;br /&gt;
To check the status of your server:&lt;br /&gt;
 rndc status&lt;br /&gt;
&lt;br /&gt;
To stop your server: &lt;br /&gt;
 rndc stop&lt;br /&gt;
&lt;br /&gt;
To flush the DNS cache:&lt;br /&gt;
 rndc flush&lt;br /&gt;
&lt;br /&gt;
BIND can be a pain to manage properly, and not without reason are there thousands of pages on how to do it written. &lt;br /&gt;
&lt;br /&gt;
[[http://www.bind9.net/manuals BIND9.net Manuals]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And here's a screenshot of Webmin's &amp;quot;Bind 9 Dynamic Server&amp;quot; module (which you'll have to install seperately from the webmin.com site; the basic webmin BIND module doesn't do views very well and was designed for BIND 8):&lt;br /&gt;
&lt;br /&gt;
http://images.penismightier.com/userfiles/Dave/bind9webmin.PNG&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (installing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuring FreeBSD]]&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_installing</id>
		<title>BIND, installing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_installing"/>
				<updated>2007-09-30T00:29:43Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: add to Related Links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The most common versions of BIND are 9 and 8, although you will occasionally see a BIND version 4 server around, they're not very common -- which is a good thing, since DNS bugs and vulnerabilities are Bad News and older versions of BIND were plagued with both.&lt;br /&gt;
&lt;br /&gt;
BIND in FreeBSD is part of the base system -- it's already there and waiting for you. If you ''must'' install it yourself, you can do it from ports, but remember to use &lt;br /&gt;
 # make -DWITH_PORT_REPLACES_BASE_BIND9 install clean&lt;br /&gt;
to overwrite the base installation.&lt;br /&gt;
&lt;br /&gt;
Installing BIND is fairly straightforward; the latest version is 9.3.4-P1 and it's in ports:&lt;br /&gt;
 # cd /usr/ports/dns/bind9&lt;br /&gt;
 # make install clean&lt;br /&gt;
and you're pretty much done. &lt;br /&gt;
&lt;br /&gt;
==Wait, I thought you said we were done==&lt;br /&gt;
&lt;br /&gt;
Well, you're done if you want a standard install. If you want a really secure DNS server, you're probably going to want to install BIND in a [[chroot]] [[jail]]. It's a pain, but it means that even if your server gets compromised, the rest of the box isn't at risk.&lt;br /&gt;
&lt;br /&gt;
When making a program live inside a jail, the important thing to remember is that everything that the program will need to access will need to live inside the same directories that are inside the jail environment. BIND needs to have some kind of randomness, so you'll need to put a copy of /dev/random inside the jail, as well as all the DNS config files and zone files etc are all in the same jail dir.&lt;br /&gt;
&lt;br /&gt;
So the easy way to do it is to specify the directory that you want to build BIND into using the --prefix=/path/to/chroot/dir and --with-randomdev=/path/to/chroot/dir/dev/random &lt;br /&gt;
&lt;br /&gt;
Rememer the [[chroot]] into your jail's ''chroot'' directory before you start BIND, and if you have any problems, it's likely because you are missing files in your jail that are necessary for your installation to run; [[ldd]] will help you find any missing libraries.&lt;br /&gt;
&lt;br /&gt;
==Logging from within the [[chroot]] [[jail]]==&lt;br /&gt;
You may be interested in keeping logs of queries made to BIND, zone transfers, etc. This is easy enough using BIND's logging directive. However, because you've likely installed BIND within a chroot jail, you'll have just a few extra hoops to jump through to get logging to work correctly from within the chroot environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, you need to tell syslogd, the syslog daemon, that it should listen for logging messages inside the jail, since BIND cannot send its logging messages outside the jail. To do this add &lt;br /&gt;
  syslogd_flags=-ss -l /var/named/var/log &lt;br /&gt;
to your /etc/rc.conf file. &lt;br /&gt;
&lt;br /&gt;
Second, tell BIND where to place its log files. If you chose the default installation of BIND9, BIND was installed to /var/named and that is where it is chrooted. Conveniently enough, there is a directory /var/named/var/log where it seems obvious to place your log files. So, in BIND9's named.conf file (/etc/namedb/named.conf) you might use a logging directive such as:&lt;br /&gt;
  logging {&lt;br /&gt;
    queries_file { &lt;br /&gt;
      channel queries_file { file &amp;quot;/var/log/queries.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
    };&lt;br /&gt;
    category queries { queries_file; };&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Finally, you may forget that BIND's log files are located in the chroot jail. Therefore, you may wish to place a soft link in /var/log to the directory where your log files are located. For example:&lt;br /&gt;
  cd /var/log&lt;br /&gt;
  ln -s /var/named/var/log named&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
&lt;br /&gt;
[[BIND]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (managing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php/BIND,_installing</id>
		<title>BIND, installing</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php/BIND,_installing"/>
				<updated>2007-09-30T00:28:17Z</updated>
		
		<summary type="html">&lt;p&gt;71.170.114.32: update bind version in ports (maybe shouldn't have the version in this wiki?)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The most common versions of BIND are 9 and 8, although you will occasionally see a BIND version 4 server around, they're not very common -- which is a good thing, since DNS bugs and vulnerabilities are Bad News and older versions of BIND were plagued with both.&lt;br /&gt;
&lt;br /&gt;
BIND in FreeBSD is part of the base system -- it's already there and waiting for you. If you ''must'' install it yourself, you can do it from ports, but remember to use &lt;br /&gt;
 # make -DWITH_PORT_REPLACES_BASE_BIND9 install clean&lt;br /&gt;
to overwrite the base installation.&lt;br /&gt;
&lt;br /&gt;
Installing BIND is fairly straightforward; the latest version is 9.3.4-P1 and it's in ports:&lt;br /&gt;
 # cd /usr/ports/dns/bind9&lt;br /&gt;
 # make install clean&lt;br /&gt;
and you're pretty much done. &lt;br /&gt;
&lt;br /&gt;
==Wait, I thought you said we were done==&lt;br /&gt;
&lt;br /&gt;
Well, you're done if you want a standard install. If you want a really secure DNS server, you're probably going to want to install BIND in a [[chroot]] [[jail]]. It's a pain, but it means that even if your server gets compromised, the rest of the box isn't at risk.&lt;br /&gt;
&lt;br /&gt;
When making a program live inside a jail, the important thing to remember is that everything that the program will need to access will need to live inside the same directories that are inside the jail environment. BIND needs to have some kind of randomness, so you'll need to put a copy of /dev/random inside the jail, as well as all the DNS config files and zone files etc are all in the same jail dir.&lt;br /&gt;
&lt;br /&gt;
So the easy way to do it is to specify the directory that you want to build BIND into using the --prefix=/path/to/chroot/dir and --with-randomdev=/path/to/chroot/dir/dev/random &lt;br /&gt;
&lt;br /&gt;
Rememer the [[chroot]] into your jail's ''chroot'' directory before you start BIND, and if you have any problems, it's likely because you are missing files in your jail that are necessary for your installation to run; [[ldd]] will help you find any missing libraries.&lt;br /&gt;
&lt;br /&gt;
==Logging from within the [[chroot]] [[jail]]==&lt;br /&gt;
You may be interested in keeping logs of queries made to BIND, zone transfers, etc. This is easy enough using BIND's logging directive. However, because you've likely installed BIND within a chroot jail, you'll have just a few extra hoops to jump through to get logging to work correctly from within the chroot environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, you need to tell syslogd, the syslog daemon, that it should listen for logging messages inside the jail, since BIND cannot send its logging messages outside the jail. To do this add &lt;br /&gt;
  syslogd_flags=-ss -l /var/named/var/log &lt;br /&gt;
to your /etc/rc.conf file. &lt;br /&gt;
&lt;br /&gt;
Second, tell BIND where to place its log files. If you chose the default installation of BIND9, BIND was installed to /var/named and that is where it is chrooted. Conveniently enough, there is a directory /var/named/var/log where it seems obvious to place your log files. So, in BIND9's named.conf file (/etc/namedb/named.conf) you might use a logging directive such as:&lt;br /&gt;
  logging {&lt;br /&gt;
    queries_file { &lt;br /&gt;
      channel queries_file { file &amp;quot;/var/log/queries.log&amp;quot; versions 3 size 5m; severity dynamic; print-time yes; };&lt;br /&gt;
    };&lt;br /&gt;
    category queries { queries_file; };&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Finally, you may forget that BIND's log files are located in the chroot jail. Therefore, you may wish to place a soft link in /var/log to the directory where your log files are located. For example:&lt;br /&gt;
  cd /var/log&lt;br /&gt;
  ln -s /var/named/var/log named&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
&lt;br /&gt;
[[BIND (configuring)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (managing)]]&lt;br /&gt;
&lt;br /&gt;
[[BIND (securing)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Ports and Packages]]&lt;br /&gt;
[[Category:Common Tasks]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>71.170.114.32</name></author>	</entry>

	</feed>