editfiles:
	{ /etc/bind/named.conf
#		BeginGroupIfNoLineContaining "logging "
		BeginGroupIfNoLineMatching '\<logging[[:space:]]*\{'
			Append "logging {"
			Append "	category lame-servers { null; };"
			Append "	category cname { null; };"
			Append "	category response-checks { null; };"
			Append "	category statistics { null; };"
			Append "}"
		EndGroup
		WarnIfNoLineMatching '\<logging[[:space:]]*\{'
		LocateLineMatching '\<logging[[:space:]]*\{'
		AbortAtLineMatching '\}'
	->	AppendIfNoLineMatching '\<category[[:blank:]]*lame-servers\>'
			Append "	category lame-servers { null; };"
		EndGroup
		BeginGroupIfNoLineMatching '\<category[[:blank:]]*cname\>'
			Append "	category cname { null; };"
		EndGroup
		BeginGroupIfNoLineMatching '\<category[[:blank:]]*response-checks\>'
			Append "	category response-checks { null; };"
		EndGroup
		BeginGroupIfNoLineMatching '\<category[[:blank:]]*statistics\>'
			Append "	category statistics { null; };"
		EndGroup
	}