{# SPDX-FileCopyrightText: 2026 Marcin Zieba #} {# SPDX-License-Identifier: Apache-2.0 #} {% with opts=record.options %} {% if opts or record.ddns_qualifying_suffix %}
{% if opts.gateway %}{% include "netbox_kea/inc/subnet_option.html" with option=opts.gateway label="GW" title="Gateway" %}{% endif %} {% if opts.dns_servers.ambiguous %} {% include "netbox_kea/inc/subnet_option.html" with option=opts.dns_servers label="DNS" %} {% elif opts.dns_servers %} DNS{% if opts.domain_name and not opts.domain_name.ambiguous %}: {{ opts.domain_name.data }}{% endif %} {% endif %} {% if opts.domain_name.ambiguous or opts.domain_name and not opts.dns_servers.data %} {% include "netbox_kea/inc/subnet_option.html" with option=opts.domain_name label="Domain" title="Domain name" %}{% endif %} {% if opts.ntp_servers %} {% include "netbox_kea/inc/subnet_option.html" with option=opts.ntp_servers label="NTP" title="NTP" %}{% endif %} {% if record.ddns_qualifying_suffix %} DDNS: {{ record.ddns_qualifying_suffix }}{% endif %}
{% endif %}{% endwith %}