I hear http://www.isoc.org/ has Domain Name System Security Extensions on its DNS records.
How do I see and verify the DNS using the tool dig
?
I hear http://www.isoc.org/ has Domain Name System Security Extensions on its DNS records.
How do I see and verify the DNS using the tool dig
?
The
dig
command is simple:Note two things:
+dnssec
flag - this asks your DNS server to validate the zone data.ad
entry in theflags
line of the response. This confirms that the zone data is correct.[if the zone data was incorrect the server would have returned a
SERVFAIL
error instead]However, your DNS server won't actually return that
ad
flag unless it has been configured to perform DNSSEC validation itself. Mine has, of course.You can enable DNSSEC in your recursive BIND server by adding the following lines to your
named.conf
file:and a copy of the root zone's public key. Other domain names can then be validated by following the chain of signatures through the DNS hierarchy.
You'll also need a fairly recent version of your DNS software - only the newer versions support the RSA/SHA-256 encryption algorithm that'll be used to sign the root. That means BIND 9.6.2+, or Unbound 1.4.0+