diff --git a/templates/dig.html b/templates/dig.html
index 7394754..4f30aa1 100644
--- a/templates/dig.html
+++ b/templates/dig.html
@@ -91,9 +91,49 @@
{% endfor %}
{% else %}
-
No MX
(Mail Exchange) records.
+ No MX
(Mail Exchange) records.
{% endif %}
+ {% if r.soa %}
+ SOA
(Source of Authority) records:
+
+ {% for soa in r.soa %}
+
+ - MName (Original Source)
+ - {{ helper::dig(extra=extra,name=soa.mname) }}
+ - RName (Responsible)
+ - {{ helper::dig(extra=extra,name=soa.rname) }}
+ - Serial
+ - {{soa.serial}}
+ - Refresh
+ - {{soa.refresh / 60 | round(precision=2) }}m
+ - Retry
+ - {{soa.retry / 60 | round(precision=2) }}m
+ - Expire
+ - {{soa.expire / 3600 | round(precision=2) }}h
+ - Minimum
+ - {{soa.minimum / 60 | round(precision=2) }}m
+
+ {% endfor %}
+
+ {% else %}
+ No SOA
records.
+ {% endif %}
+
+
+
+ {% if r.ns %}
+ NS
(Name Server) records:
+
+ {% for ns in r.ns | sort %}
+ - {{ helper::dig(extra=extra, name=ns) }}
+ {% endfor %}
+
+ {% else %}
+ No NS
(Name Server) records.
+ {% endif %}
+
+
{% if r.caa %}
CAA
(Certification Authority Authorization) records:
@@ -118,9 +158,9 @@
{% if r.srv %}
SRV
records:
-
+
{% for srv in r.srv %}
-
+
- Priority
- {{srv.priority}}
- Weight
@@ -129,7 +169,7 @@
- {{srv.port}}
- Target
- {{ helper::dig(extra=extra,name=srv.target) }}
-
+
{% endfor %}
{% else %}