{% set wrongoption = wrongoption | default(False) %}

options {
	port @PORT@;
	pid-file "named.pid";
	listen-on { 10.53.0.1; };
	listen-on-v6 { none; };
	recursion no;
};

key rndc_key {
	secret "1234abcd8765";
	algorithm @DEFAULT_HMAC@;
};

controls {
	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};

view "default" {
	zone "example." {
		type primary;
		file "example.db";
	};
	/*
	 * failure to reconfig must occurs during configuration of the views
	 */
	{% if wrongoption %}
		forwarders port 9999999 { 127.0.0.1; };
	{% endif %}
};
