[resolved] Infrastructure: DNS problem with elm-lang.org

looks like DNS servers for elm-lang.org are unreachable since about an
hour ago or so, which breaks CI.

Problem is probably at dreamhost: https://www.dreamhoststatus.com/

-- PROBLEM LOADING PACKAGE LIST ------------------------------------------------
I need the list of published packages to verify your dependencies, so I tried to
fetch:
    https://package.elm-lang.org/all-packages
But my HTTP library is giving me the following error message:
    ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = <assumed to be undefined>, addrCanonName = <assumed to be undefined>}, host name: Just "package.elm-lang.org", service name: Just "443"): does not exist (Try again)
Are you somewhere with a slow internet connection? Or no internet? Does the link
I am trying to fetch work in your browser? Maybe the site is down? Does your
internet connection have a firewall that blocks certain domains? It is usually
something like that!

$> dig package.elm-lang.org

; <<>> DiG 9.8.3-P1 <<>> package.elm-lang.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 13279
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;package.elm-lang.org.          IN      A

;; Query time: 3078 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jul 27 15:57:57 2020
;; MSG SIZE  rcvd: 38

$> dig elm-lang.org

; <<>> DiG 9.8.3-P1 <<>> elm-lang.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51102
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;elm-lang.org.                  IN      A

;; Query time: 3248 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jul 27 16:02:09 2020
;; MSG SIZE  rcvd: 30

$> dig elm-lang.org NS

; <<>> DiG 9.8.3-P1 <<>> elm-lang.org NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64517
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;elm-lang.org.                  IN      NS

;; Query time: 3020 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jul 27 16:03:09 2020
;; MSG SIZE  rcvd: 30

$> dig +trace elm-lang.org

; <<>> DiG 9.8.3-P1 <<>> +trace elm-lang.org
;; global options: +cmd
.                       82654   IN      NS      m.root-servers.net.
.                       82654   IN      NS      b.root-servers.net.
.                       82654   IN      NS      c.root-servers.net.
.                       82654   IN      NS      d.root-servers.net.
.                       82654   IN      NS      e.root-servers.net.
.                       82654   IN      NS      f.root-servers.net.
.                       82654   IN      NS      g.root-servers.net.
.                       82654   IN      NS      h.root-servers.net.
.                       82654   IN      NS      a.root-servers.net.
.                       82654   IN      NS      i.root-servers.net.
.                       82654   IN      NS      j.root-servers.net.
.                       82654   IN      NS      k.root-servers.net.
.                       82654   IN      NS      l.root-servers.net.
;; Received 228 bytes from 8.8.8.8#53(8.8.8.8) in 259 ms

org.                    172800  IN      NS      a0.org.afilias-nst.info.
org.                    172800  IN      NS      a2.org.afilias-nst.info.
org.                    172800  IN      NS      b0.org.afilias-nst.org.
org.                    172800  IN      NS      b2.org.afilias-nst.org.
org.                    172800  IN      NS      c0.org.afilias-nst.info.
org.                    172800  IN      NS      d0.org.afilias-nst.org.
;; Received 432 bytes from 192.5.5.241#53(192.5.5.241) in 852 ms

elm-lang.org.           86400   IN      NS      ns2.dreamhost.com.
elm-lang.org.           86400   IN      NS      ns1.dreamhost.com.
elm-lang.org.           86400   IN      NS      ns3.dreamhost.com.
;; Received 97 bytes from 2001:500:c::1#53(2001:500:c::1) in 1182 ms

;; connection timed out; no servers could be reached

Anybody aware and working on it? Any ETA for fixing?

Are you still observing this?

I’m not familiar with the dig tool, but things are working alright for me. I’m also not hearing about similar issues from other people. Is it possible that this is related to DNS resolution in your region or the particular network you were using at the time?

I’m not a major expert on DNS stuff, but nothing has changed on my part, so I suspect any issues are from some intermediate provider or resolver or something like that. Would need more information to be sure though.

Would something like that explain what you observed?

Note to general reader: I very highly recommend that people cache ~/.elm/ on CI so that they are more resilient to downtime of Elm websites or Github or whatever else can go down. The elm binary should be able to build a project without an internet connection as long as ~/.elm is preserved and your deps haven’t changed since you last had a connection.

1 Like

The outage has been resolved by dreamhost, and affect most services judging from the status history, and therefore most customers. I’m unsure about the exact duration, but probably close to 2h (status history says 1.5h).

See here:

updated the title.

1 Like

link to dreamhost status history: https://www.dreamhoststatus.com/pages/history/575f0f606826303142000510

1 Like