{% set maxdelegationservers = maxdelegationservers | default(None) %}

options {
	query-source address 10.53.0.4;
	notify-source 10.53.0.4;
	transfer-source 10.53.0.4;
	port @PORT@;
	pid-file "named.pid";
	listen-on { 10.53.0.4; };
	recursion yes;
	dnssec-validation no;
	dnstap { resolver query; };
	dnstap-output file "dnstap.out";
	{% if maxdelegationservers %}
        @maxdelegationservers@
	{% endif %}
};

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

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

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