Now that you have created a Zone file and uploaded it to your Name Server, this article documents how to edit named.conf.local and include the zone.
Open any text editor, in this case I'm using TextPad, click File, Open, broswe to the folder where you have downloaded named.conf.local.
Tip: The easiet way to remember the folder where you saved the file is to create a folder on your PC called after your name server; example if your Name Server is nameserver.com, then create a folder called c:\nameserver. Then create a sub-folder called c:\nameserver\bind and download named.conf.local to this folder.
named.conf.local will most likely look quite similar to the text below:
// etc/bind/named.conf.local
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "nameserver.com" { file "bind/nameserver.com"; type master; };
1. The first thing to note is the two forward slashes //. The two forward slashes indicate to BIND that this is a comment and therefore anything after the two forward slashes will be ignored. The first line says that the file is located in the directory /etc/bind; this is the location of the directory on the Debian GNU/Linux server where named.conf.local is stored. The name of your directory may vary depending on your installation.
2. zone "nameserver.com" says that nameserver.com is the Domain Name used in this zone and that the Zone file may be located in the directory /bind. The name of your directory may vary depending on your installation. It also says that this is the Primary Master Name Server for the domain.
3. Add a new line at the end of the file and type in as follows (change yourdomain.com to the actual name of your domain):
zone "yourdomain.com" { file "bind/yourdomain.com"; type master; };
4. Save the file and upload to your Name Server.