a year ago
I have a api integration that uses this endpoint: https://api.correios.com.brI tested localy and its working fine.. but when i deploy my application doesnt workIm getting this error getaddrinfo EAI_AGAIN api.correios.com.brLooks like dns cant resolve this host from railway
2 Replies
a year ago
6899650e-9775-4e91-8de0-30cb37d0c076
a year ago
This isn't an issue with Railway, both Google's 8.8.8.8 and Cloudflare's 1.1.1.1 do not return a record for it, and they both return a DNSKEY Missing
error -```root@8ee48776e3e1:/# dig api.correios.com.br @1.1.1.1
; <<>> DiG 9.18.24-0ubuntu5-Ubuntu <<>> api.correios.com.br @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1772
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; EDE: 9 (DNSKEY Missing): (no SEP matching the DS found for correios.com.br.)
; EDE: 10 (RRSIGs Missing): (for DNSKEY com.br., id = 35149)
;; QUESTION SECTION:
;api.correios.com.br. IN A
;; Query time: 548 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Wed Jun 12 23:12:23 UTC 2024
;; MSG SIZE rcvd: 139```