.mg TLD DNSSEC Outage: 2017-07-03
Updated: July 3, 2017
Overview
This page gives some details on the .mg (Madagascar) TLD DNSSEC outage on July 3, 2017.
Timeline / DNSViz
- 2017-07-03 17:56:11 UTC — RRSIG inception 34 minutes in the future
- 2017-07-03 17:59:46 UTC — RRSIG inception 30 minutes in the future
- 2017-07-03 18:00:22 UTC — RRSIG inception 30 minutes in the future
DNSSEC Debugger
Unlike DNSViz, Verisign's DNSSEC Debugger doesn't archive results, so here's a screenshot of my web browser's output from July 3, 2017:
Zonemaster
- zonemaster.net archived "Delegation from parent to child is not properly signed (signature: DNSSEC signature not incepted yet)." -->
drill trace
Since DNSSEC contains so much garbage, I put the complete drill trace into its own file, with the relevant portion below (emphasis added):
;; Domain: mg.
[B] mg. 3600 IN DNSKEY 257 3 5 ;{id = 64652 (ksk), size = 2048b}
mg. 3600 IN DNSKEY 256 3 5 ;{id = 44863 (zsk), size = 1024b}
[B] Error verifying denial of existence for mg. type A: No keys with the keytag and algorithm from the RRSIG found
;;[S] self sig OK; [B] bogus; [T] trusted
OpenDNS & DNS-OARC
OpenDNS does not support DNSSEC, and instead supports DNSCurve. DNS-OARC currently supports only DNSSEC, and thus, DNS-OARC's users saw SERVFAIL for queries under mg during this outage.
With OpenDNS, without DNSSEC, queries succeed:
$ dig ns mg. @resolver1.opendns.com.
; <<>> DiG 9.10.3-P4-Debian <<>> ns mg. @resolver1.opendns.com.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39285
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mg. IN NS
;; ANSWER SECTION:
mg. 172800 IN NS a.mg.dyntld.net.
mg. 172800 IN NS b.mg.dyntld.net.
mg. 172800 IN NS ns.dts.mg.
mg. 172800 IN NS ns.nic.mg.
mg. 172800 IN NS ns-mg.malagasy.com.
mg. 172800 IN NS censvrns0001.ird.fr.
;; Query time: 0 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Mon Jul 03 17:55:56 UTC 2017
;; MSG SIZE rcvd: 183
With DNS-OARC, because of DNSSEC, queries fail:
dig +dnssec ns mg. @184.105.193.73
; <<>> DiG 9.10.3-P4-Debian <<>> +dnssec ns mg. @184.105.193.73
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1734
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;mg. IN NS
;; Query time: 3786 msec
;; SERVER: 184.105.193.73#53(184.105.193.73)
;; WHEN: Mon Jul 03 17:56:01 UTC 2017
;; MSG SIZE rcvd: 31
Logfile examples
- [1499106305] unbound[53814:0] info: validation failure <mg. NS IN>: signature before inception date from 196.192.32.2 for key mg. while building chain of trust
- [1499106489] unbound[53814:0] info: validation failure <mg. NS IN>: signature before inception date from 196.192.42.153 for key mg. while building chain of trust