.mg TLD DNSSEC Outage: 2017-08-27

Date: August 27, 2017

Overview

This page gives some details on the .mg (Madagascar) TLD DNSSEC outage on August 27, 2017.

Timeline / DNSViz

DNSSEC Debugger

Unlike DNSViz, Verisign's DNSSEC Debugger doesn't archive results, so here's a screenshot of my web browser's output from August 27, 2017:

August 27, 2017 .mg TLD DNSSEC outage

Zonemaster

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

DNS-OARC: with and without DNSSEC

DNSSEC can be disabled in queries via the CD (checking disabled) bit. Let's compare DNS queries with and without DNSSEC.

With DNSSEC, DNS 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: 42068
;; 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: 3874 msec
;; SERVER: 184.105.193.73#53(184.105.193.73)
;; WHEN: Sun Aug 27 20:58:05 UTC 2017
;; MSG SIZE rcvd: 31


You have to disable DNSSEC to make DNS queries work:

$ dig +cd ns mg. @184.105.193.73

; <<>> DiG 9.10.3-P4-Debian <<>> +cd ns mg. @184.105.193.73
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15327
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 9

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mg. IN NS

;; ANSWER SECTION:
MG. 161121 IN NS ns.dts.mg.
MG. 161121 IN NS b.mg.dyntld.net.
MG. 161121 IN NS ns-mg.malagasy.com.
MG. 161121 IN NS a.mg.dyntld.net.
MG. 161121 IN NS censvrns0001.ird.fr.
MG. 161121 IN NS ns.nic.mg.

;; ADDITIONAL SECTION:
a.mg.dyntld.net. 161121 IN A 199.19.5.24
b.mg.dyntld.net. 161121 IN A 199.19.6.24
ns.dts.mg. 17185 IN A 196.192.32.2
ns.nic.mg. 75726 IN A 196.192.42.153
ns-mg.malagasy.com. 161121 IN A 87.98.132.231
censvrns0001.ird.fr. 10944 IN A 91.203.32.147
a.mg.dyntld.net. 161121 IN AAAA 2001:500:92::24
b.mg.dyntld.net. 161121 IN AAAA 2001:500:96::24

;; Query time: 483 msec
;; SERVER: 184.105.193.73#53(184.105.193.73)
;; WHEN: Sun Aug 27 20:58:06 UTC 2017
;; MSG SIZE rcvd: 337

Logfile examples