help setting up zone files

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Thu Jul 26 22:38:58 UTC 2001


> 
> I just installed solaris 8 on an intel machine. It has 8.2.2 which I
> plan to upgrade soon but I am new to this and want to know how to
> setup zone files and configuration named.conf file. I plan to pick up
> the book DNS and BIND very soon.

	Make sure that you have all the security patches from Sun
	and that they address the issues identified in
	http://www.isc.org/products/BIND/bind-security.html or
	build from the lastest source.

	Make sure you get the 4th edition of DNS and BIND.

> 
> At the meantime, I was wondering if someone could help or direct me to
> a link ttelling me what files I need to setup a primary nameserver. I
> would like to replace our MS DNS with BIND instead.

	named.conf and zone files to contain the data you wish to serve.
	The later are referenced from the former.

> 
> So far there is no named.conf file under /etc.

	You need to create it.

> I created a /var/named directory which I believe my zone files will
> reside.

	This is a common place to put the zone files.

	As you have the zones already set up on the MS box initially
	make yourself a secondary/slave for each of the zones on
	the MS box.

	zone "example.com" {
		type slave;
		file "master/example.com.db";
		masters { 1.2.3.4; };
	};

	The reconfigure the server to be a master for these zones once
	you have successfully transfered them.

	zone "example.com" {
		type master;
		file "master/example.com.db";
	};

	You should then go and update the SOA's to reflect the new master
	and configure the MS box to be a slave for these zones.  Adjust
	NS records as well here and inform the parent zone of the new
	NS RRset.  Don't forget to update the serial.

	The above assumes that there is a directory /var/named/master and
	that options contains at least

	options {
		directory "/var/named";
	};

	Mark
> 
> Thanks
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list