The Berkeley Internet Name Domain (BIND) from the Internet Systems Consortium is the most widely used domain name server software on the Internet. You can use it to provide name services to your local network, by installing it on your Thecus NAS:
The sample zone files describe a (fictional) network with the domain name rings.org., comprising the hosts nenya.rings.org, vilya.rings.org, narya.rings.org, and nas.rings.org, with the IP addresses 192.168.1.2, 192.168.1.3, 192.168.1.4, and 192.168.1.1, respectively. Please choose a different (preferably your own) domain for your purpose, as this domain may get registered by somebody in the future.user$ nslookup nenya.rings.org 192.168.222.12 Server: 192.168.222.12 Address: 192.168.222.12#53 Name: nenya.rings.org Address: 192.168.1.2
Apart from writing up the zone files, hardly any configuration is necessary to provide name services for a small network. Use the module's configuration page in the NAS administration interface to download the installed server configuration. The file is a gzipped tar archive which can be unpacked under both Unix (using tar) and Windows (for instance using WinZIP). The files use the Unix convention of terminating lines with a single line feed character, under Windows use the WordPad program to display them properly.
The tar archive contains the following files:
Particularly the named.options file can be used to add further server configuration options. Unfortunately, the documentation of the server configuration that comes with the BIND release 9.3.1 is not too useful, as it merely lists all the available options, without explaining them. The BIND release 8 ist much more helpful in this respect; as the configuration formats are largely compatible, it's documentation can be used to understand most of the available options.
A small section of the configuration is not accessible; it should not be changed normally. It primes the server with knowledge about the DNS root servers (as at 19th of February 2011), and sets up the loopback and broadcast zones.
BIND is open source software under the GPL (Wikipedia: GNU General Public License). I packaged the BIND binary from Slackware version 10.2 (the Thecus NAS firmware is based on this Linux distribution) utilising some scripts that Andreas Vogel wrote to package his SSHD NAS module. As all the components are under the GPL, so is the whole module package from this web page.
The GPL requires the source code to be available. The module file is a simple .tar.gz file that can be unpacked using the Unix tar tool. The scripts are their own source code. The BIND binary is straight from the Slackware install CD, so here is the source code from the Slackware source code CD.
Modified 2011-03-09 by Peter Rottengatter