.kg DNSSEC Outage: 2014-01-01
Date: January 1, 2014
Overview
This page gives some details on the .kg (Kyrgyzstan) DNSSEC outage of January 1, 2014. It contains unbound logs and citations to Verisign's DNSSEC Debugger and DNSViz. There is also a comparison of OpenDNS and Google Public DNS.
Verisign's DNSSEC Debugger
Verisign doesn't archive test results, unlike DNSViz. So here's a screenshot I took on January 1, 2014:
DNSViz
At 2013-12-31 21:41:40 UTC, DNSViz reports the upcoming RRSIG expirations of 4 DNSKEY records and 2 SOA records, due to TTL values exceeding expiration dates:
- RRSIG kg/DNSKEY by kg/DNSKEY alg 5, key 49950: With a TTL of 24598, this RRSIG will expire in the cache of non-validating resolvers (i.e., now + TTL > expiration).
- RRSIG kg/DNSKEY by kg/DNSKEY alg 5, key 49950: With a TTL of 67798, this RRSIG will expire in the cache of non-validating resolvers (i.e., now + TTL > expiration).
- RRSIG kg/DNSKEY by kg/DNSKEY alg 5, key 49954: With a TTL of 24598, this RRSIG will expire in the cache of non-validating resolvers (i.e., now + TTL > expiration).
- RRSIG kg/DNSKEY by kg/DNSKEY alg 5, key 49954: With a TTL of 67798, this RRSIG will expire in the cache of non-validating resolvers (i.e., now + TTL > expiration).
- RRSIG kg/SOA by kg/DNSKEY alg 5, key 49950: With a TTL of 24598, this RRSIG will expire in the cache of non-validating resolvers (i.e., now + TTL > expiration).
- RRSIG kg/SOA by kg/DNSKEY alg 5, key 49950: With a TTL of 67798, this RRSIG will expire in the cache of non-validating resolvers (i.e., now + TTL > expiration).
By 2014-01-01 17:02:41 UTC, 19 hours and 20 minutes later, there were still some expired RRSIGs and a bogus SOA, but the situation was calming down.
OpenDNS vs. Google Public DNS
OpenDNS, without DNSSEC, the query succeeds:
$ date -u; dig ns kg @resolver1.opendns.com
Wed Jan 1 20:13:33 UTC 2014
; <<>> DiG 9.4.2-P2 <<>> ns kg @resolver1.opendns.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18222
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;kg. IN NS
;; ANSWER SECTION:
kg. 172216 IN NS ns.kg.
kg. 172216 IN NS kg.cctld.authdns.ripe.net.
;; Query time: 17 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Wed Jan 1 14:13:33 2014
;; MSG SIZE rcvd: 76
Google Public DNS, with DNSSEC, the query fails:
$ date -u; dig ns kg @8.8.8.8
Wed Jan 1 20:14:31 UTC 2014
; <<>> DiG 9.4.2-P2 <<>> ns kg @8.8.8.8
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51029
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;kg. IN NS
;; Query time: 138 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jan 1 14:14:31 2014
;; MSG SIZE rcvd: 20
Log entries
- [1388559717] unbound[25603:0] info: validation failure <com.kg. SOA IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388559717] unbound[25603:0] info: validation failure <com.kg. TXT IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388559902] unbound[25603:0] info: validation failure <gov.kg. SOA IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388559902] unbound[25603:0] info: validation failure <gov.kg. TXT IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388560289] unbound[25603:0] info: validation failure <mil.kg. SOA IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388560289] unbound[25603:0] info: validation failure <mil.kg. TXT IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388560295] unbound[25603:0] info: validation failure <net.kg. A IN>: key for validation kg. is marked as invalid because of a previous validation failure <flchdrdismgerbdb.mil.kg. SOA IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388560786] unbound[25603:0] info: validation failure <kg. TXT IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388560786] unbound[25603:0] info: validation failure <kg. SOA IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388608282] unbound[3274:0] info: validation failure <kg. NS IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust
- [1388624573] unbound[12593:0] info: validation failure <kg. NS IN>: signature expired from 193.0.9.84 for key kg. while building chain of trust