DNS issues with cloudlfare
bradypodion4
PROOP

4 months ago

Project ID: 9a065420-da99-4f97-983e-1d174b922ca5

i'm facing issues in connecting my domain to a railway service. i'm using cloudflare DNS, configured DNS automatically by clicking the integration button

when i navigate to my domain, i get 404

the app is a fastapi webapp, of course i configured "/" path. the issue is DNS related, i don't see anything in the logs, no incoming requests to the app. if i add a "generated domain" everything works fine

Closed

37 Replies

4 months ago

What kind of 404? A Railway one?


bradypodion4
PROOP

4 months ago

didn't want to reach out, but wasted like 3 hours on this

not sure who's giving 404


4 months ago

Can you screenshot the page you're seeing?


bradypodion4
PROOP

4 months ago

image.png

Attachments


bradypodion4
PROOP

4 months ago

image.png

Attachments


4 months ago

What happens if you open an incognito tab (ctrl + shift + n) and navigate to your site there?


bradypodion4
PROOP

4 months ago

same issue


bradypodion4
PROOP

4 months ago

is not a browser cache issue


bradypodion4
PROOP

4 months ago

sounds like a DNS issue after a long investigation


4 months ago

It does seem like it for me, I navigate to https://www.smartresponding.com/ and it does load a website (something something concierge)

The remote address (per your dev tools network tab screenshot) is 62.149.128.4 which belongs to a "Aruba" IT company, and not Railway or Cloudflare


4 months ago

So it really does seem like a caching issue


bradypodion4
PROOP

4 months ago

WUT


bradypodion4
PROOP

4 months ago

image.png

Attachments


4 months ago

I also notice a "DNS Resolution: System" in the same screenshot

What happens if you refresh (preferably in an incognito tab again) after running ipconfig /flushdns in command prompt?


bradypodion4
PROOP

4 months ago

image.png

Attachments


4 months ago

sudo resolvectl flush-caches for Linux systemd-resolved


bradypodion4
PROOP

4 months ago

did it too


bradypodion4
PROOP

4 months ago

image.png

Attachments


bradypodion4
PROOP

4 months ago

and refreshed the incognito page running ctrl + maiusc + R


4 months ago

What returns in console when you run host -t a www.smartresponding.com?


bradypodion4
PROOP

4 months ago

62.149.128.4


4 months ago

https://www.whatsmydns.net/#A/www.smartresponding.com also shows that everything is correctly propagated


4 months ago

And host www.smartresponding.com 1.1.1.1?


bradypodion4
PROOP

4 months ago

host www.smartresponding.com 1.1.1.1

Using domain server:

Name: 1.1.1.1

Address: 1.1.1.1#53

Aliases:

www.smartresponding.com has address 62.149.128.4

www.smartresponding.com is an alias for smartresponding.com.

www.smartresponding.com is an alias for smartresponding.com.

smartresponding.com mail is handled by 10 mx.smartresponding.com.

www.smartresponding.com is an alias for smartresponding.com.


bradypodion4
PROOP

4 months ago


; <<>> DiG 9.20.23 <<>> NS smartresponding.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47770
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 902d89f6893d38a6010000006a2c1117a6ea9bd3dfc0078f (good)
;; QUESTION SECTION:
;smartresponding.com.           IN      NS

;; ANSWER SECTION:
smartresponding.com.    300     IN      NS      lucy.ns.cloudflare.com.
smartresponding.com.    300     IN      NS      matt.ns.cloudflare.com.

;; Query time: 20 msec
;; SERVER: 192.168.1.254#53(192.168.1.254) (UDP)
;; WHEN: Fri Jun 12 16:00:55 CEST 2026
;; MSG SIZE  rcvd: 128

bradypodion4
PROOP

4 months ago

gettin' crazy into this


bradypodion4
PROOP

4 months ago

before, i had also added root domain with cname @

but it wasn't working too


4 months ago

What about dig www.smartresponding.com @lucy.ns.cloudflare.com?


bradypodion4
PROOP

4 months ago


; <<>> DiG 9.20.23 <<>> www.smartresponding.com @lucy.ns.cloudflare.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44749
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 93771b9755fe85b1010000006a2c12b43bd4b5e969250a2e (good)
;; QUESTION SECTION:
;www.smartresponding.com.       IN      A

;; ANSWER SECTION:
www.smartresponding.com. 300    IN      CNAME   smartresponding.com.
smartresponding.com.    300     IN      A       62.149.128.4

;; Query time: 47 msec
;; SERVER: 173.245.58.133#53(lucy.ns.cloudflare.com) (UDP)
;; WHEN: Fri Jun 12 16:07:48 CEST 2026
;; MSG SIZE  rcvd: 110

4 months ago

dig @1.1.1.1 +https www.smartresponding.com?


bradypodion4
PROOP

4 months ago


; <<>> DiG 9.20.23 <<>> @1.1.1.1 +https www.smartresponding.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48289
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;www.smartresponding.com.       IN      A

;; ANSWER SECTION:
www.smartresponding.com. 300    IN      CNAME   r9cqajiw.up.railway.app.
r9cqajiw.up.railway.app. 60     IN      A       69.46.46.123

;; Query time: 115 msec
;; SERVER: 1.1.1.1#443(1.1.1.1) (HTTPS)
;; WHEN: Fri Jun 12 16:10:43 CEST 2026
;; MSG SIZE  rcvd: 105

4 months ago

It seems like your router (or possibly ISP) is intercepting your DNS queries

The last command I gave, ran the DNS query over HTTPS (secure) instead of UDP (insecure)


4 months ago

Could try restarting your router for a starter, or installing Cloudflare's http://1.1.1.1 for DNS over HTTPS


4 months ago

Oh oh, you can also enable DNS over HTTPS in your browser specifically


4 months ago

(no markdown available for this content)


bradypodion4
PROOP

4 months ago

well, you're right, tried with mobile connection and it works


bradypodion4
PROOP

4 months ago

thank you ! ❤️


Welcome!

Sign in to your Railway account to join the conversation.

Loading...