getaddrinfo ENOTFOUND exp.host problem

the exp start command won’t start the bundle.
I tried to use proxy and ping the exp.host and it receives responses. then I try with another command expo login with EXPO_DEBUG=true it returns this:

getaddrinfo ENOTFOUND exp.host
Error: getaddrinfo ENOTFOUND exp.host
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)

I dunno what causing this problem… since yesterday everything is working fine.

edit:
this happen after I updated to OSX Catalllina

Sounds like a problem with DNS resolution. Could you check the output for following commands?

nslookup exp.host
dig exp.host
1 Like

nslookup response:

Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	exp.host
Address: 104.197.216.164

dig:

; <<>> DiG 9.10.6 <<>> exp.host
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22516
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;exp.host.			IN	A

;; ANSWER SECTION:
exp.host.		221	IN	A	104.197.216.164

;; Query time: 147 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Oct 15 17:46:07 +03 2019
;; MSG SIZE  rcvd: 53

Hi

First, perhaps it was just a typo, but please note that the exp command is old and should no longer be used. Instead you should use the expo command. The latest version is version 3.4.0 from the expo-cli package.

Please can you post the complete error if the error message in your first message is not the full message.

When nslookup/dig are working as per your last message, do you still get the same “getaddrinfo ENOTFOUND” error from expo?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.