diff --git a/app/dashboard/templates/dashboard/domain_detail/dns.html b/app/dashboard/templates/dashboard/domain_detail/dns.html
index a6a78dc5..6207a708 100644
--- a/app/dashboard/templates/dashboard/domain_detail/dns.html
+++ b/app/dashboard/templates/dashboard/domain_detail/dns.html
@@ -56,6 +56,9 @@
Your DNS is not correctly set. The MX record we obtain is:
+ {% if not mx_errors %}
+ (Empty)
+ {% endif %}
{% for r in mx_errors %}
{{ r }}
{% endfor %}
@@ -112,6 +115,10 @@
Your DNS is not correctly set. The TXT record we obtain is:
+ {% if not spf_errors %}
+ (Empty)
+ {% endif %}
+
{% for r in spf_errors %}
{{ r }}
{% endfor %}