Some .io nameservers are returning wrong results again
At my company (getstream.io) we've been having issues when resolving our domains randomly. After some more investigation it seems some .io nameservers are returning bad results. Specifically ns-a2.io and ns-a4.io. A correct result for crates.io looks like this:
$ dig crates.io @ns-a1.io +norecurse
; <<>> DiG 9.11.2 <<>> crates.io @ns-a1.io +norecurse
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18874
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 3,
ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;crates.io. IN A
;; AUTHORITY SECTION:
crates.io. 86400 IN NS dns3.easydns.ca.
crates.io. 86400 IN NS dns1.easydns.com.
crates.io. 86400 IN NS dns2.easydns.net.
;; Query time: 83 msec
;; SERVER: 194.0.1.1#53(194.0.1.1)
;; WHEN: Wed Sep 20 15:33:13 CEST 2017
;; MSG SIZE rcvd: 127
A bad one looks like the following: dig crates.io @ns-a4.io +norecurse
; <<>> DiG 9.11.2 <<>> crates.io @ns-a4.io +norecurse
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43223
;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1,
ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;crates.io. IN A
;; AUTHORITY SECTION:
io. 900 IN SOA a0.nic.io. noc.afilias-nst.info. 1497256201 10800 3600 2764800 900
;; Query time: 10 msec
;; SERVER: 74.116.179.1#53(74.116.179.1)
;; WHEN: Wed Sep 20 15:34:59 CEST 2017
;; MSG SIZE rcvd: 105
This has happened last year as well, so I wouldn't recommend running something important on a .io domain: https://news.ycombinator.com/item?id=12813065
80 comments
[ 3.1 ms ] story [ 159 ms ] threadEdit: it has now taken out our CI infrastructure and dev environments as it's caching NXDOMAIN records.
Is there any example of other TLDs having similar issues in past?
but last time io had a problem we continued to have downtime after it was resolved because of a high value for the SOA record :(
If I change the TTL for an A-record in Route53, how will that help if there is an NS-issue with nic-io?
(awesome if you could explain!)
Also, does the SOA and NS records have any effect here?
You could remove the delegation entries for the name servers that are returning results though, that might help.
This still doesn't rule out bad responses. As far as I know there's no way to achieve that. However, it will make sure correct ones stay active longer.
A high TTL on your NS records would be good as well for the same reason. On the SOA it shouldn't really matter.
Any quick fix ideas I can get to a customer without technical command-line experience? Changing DNS or modifying hosts file is not really an option.
In this case, think of it as if the guy who made your maps is giving you the wrong country's maps. It's well made, clear, concise and wrong. There's no 'greater' authority then the map maker, so unless you can reconfigure your users to believe in a different map (change hosts/dns), there's nothing that can be done.
Patience :(
Seems to be getting better now. High TTL helps but mostly if it was there before so do it now for the next downtime (it's frequent with .io)
Timing couldn't be worse, we did a product release on ProductHunt earlier today :(