Using bind and ad blocking

Mark Andrews marka at isc.org
Fri Feb 5 21:47:57 UTC 2016


Read the error message.  It will tell you where a write instance
is and a read instance is or where two write instances are.  In
this case it is on lines 7 and 3 of junk.conf (junk.conf:7 and
junk.conf:3).

	% cat junk.conf
	zone "a" IN {
		type master;
		file "x";
	};
	zone "b" {
		type slave;
		file "x";
		masters { 1.1.1.1; };
	};
	% named-checkconf junk.conf
	junk.conf:7: writeable file 'x': already in use: junk.conf:3
	% 

And a example of a shared master file being processed cleanly.

	% cat shared.conf
	zone "a" IN {
		type master;
		file "x";
	};
	zone "b" {
		type master;
		file "x";
	};
	% named-checkconf shared.conf
	% 

Mark

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list