-
DNSSEC Data
-
-
- {% for row in domainSecdns %}
-
- {% for key, value in row %}
- {% if key not in ['id', 'domain_id', 'maxsiglife'] %}
- {{ key }} |
- {% endif %}
- {% endfor %}
-
-
- {% for key, value in row %}
- {% if key not in ['id', 'domain_id', 'maxsiglife'] %}
- {{ value }} |
- {% endif %}
- {% endfor %}
-
- {% endfor %}
-
-
+
{{ __('DNSSEC Data') }}
+ {% if domainSecdns|length > 0 %}
+
+
+
+
+
+ {% set dsDataExists = false %}
+ {% set keyDataExists = false %}
+
+ {% for row in domainSecdns %}
+ {% if row.interface == 'dsData' %}
+ {% set dsDataExists = true %}
+ {% elseif row.interface == 'keyData' %}
+ {% set keyDataExists = true %}
+ {% endif %}
+ {% endfor %}
+
+
+ {% if dsDataExists %}
+ Keytag |
+ Algorithm |
+ Digest Type |
+ Digest |
+ {% endif %}
+
+
+ {% if keyDataExists %}
+ Flags |
+ Protocol |
+ Keydata Algorithm |
+ Public Key |
+ {% endif %}
+
+
+
+ {% for row in domainSecdns %}
+
+ {% if row.interface == 'dsData' %}
+ {{ row.keytag }} |
+ {{ row.alg }} |
+ {{ row.digesttype }} |
+ {{ row.digest }} |
+ {% elseif row.interface == 'keyData' %}
+ {{ row.flags }} |
+ {{ row.protocol }} |
+ {{ row.keydata_alg }} |
+ {{ row.pubkey }} |
+ {% endif %}
+
+ {% endfor %}
+
+
+
+
+ {% endif %}