{% set change_lifetime = change_lifetime | default(False) %}
{% set longer = "short-lifetime" if not change_lifetime else "long-lifetime" %}
{% set shorter = "long-lifetime" if not change_lifetime else "short-lifetime" %}
{% set limit = "unlimited-lifetime" if not change_lifetime else "short-lifetime" %}
{% set unlimit = "short-lifetime" if not change_lifetime else "unlimited-lifetime" %}

include "kasp.conf";
include "named.common.conf";

zone longer-lifetime.kasp {
	type primary;
	file "longer-lifetime.db";
	dnssec-policy @longer@;
};

zone shorter-lifetime.kasp {
	type primary;
	file "shorter-lifetime.db";
	dnssec-policy @shorter@;
};

zone limit-lifetime.kasp {
	type primary;
	file "limit-lifetime.db";
	dnssec-policy @limit@;
};

zone unlimit-lifetime.kasp {
	type primary;
	file "unlimit-lifetime.db";
	dnssec-policy @unlimit@;
};
