DNS HOWTO : A real domain example : /etc/namedb/named.conf
Previous: A real domain example
Next: /etc/namedb/named.root

5.1. /etc/namedb/named.conf

Here we find master zone sections for the two reverse zones needed: the 127.0.0 net, as well as LAND-5's 206.6.177 subnet. And a primary line for land-5's forward zone land-5.com. Also note that instead of stuffing the files in a directory called namedb, as I do in this HOWTO, he puts them in a directory called zone.


// Boot file for LAND-5 name server

options {
	directory "/etc/namedb";
};

zone "." {
	type hint;
	file "root.hints";
};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "zone/127.0.0";
};

zone "land-5.com" {
	type master;
	file "zone/land-5.com";
};

zone "177.6.206.in-addr.arpa" {
	type master;
	file "zone/206.6.177";
};

If you put this in your named.conf file to play with PLEASE put ``notify no;'' in the zone sections for the two land-5 zones so as to avoid accidents.


DNS HOWTO : A real domain example : /etc/namedb/named.conf
Previous: A real domain example
Next: /etc/namedb/named.root