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

options {
	query-source address 10.53.0.1;
	notify-source 10.53.0.1;
	transfer-source 10.53.0.1;
	port @PORT@;
	pid-file "named.pid";
	listen-on { 10.53.0.1; };
	recursion no;
	dnssec-validation no;
	notify yes;
	minimal-responses no;
};

{% if noextension %}
plugin query "@TOP_BUILDDIR@/testlib-driver-async";
{% else %}
plugin query "@TOP_BUILDDIR@/testlib-driver-async.@DYLIB@";
{% endif %}

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

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

zone "example.com" {
	type primary;
	file "example.db";
};
