Custom Domain TXT file not being recognized
djaenicke3
HOBBYOP

5 months ago

Hi -

I'm using a custom domain and Railway gave me a CNAME and TXT value to update my DNS with. I have done that almost 24 hour later the TXT value has still not propogated. The CNAME value did within minutes.

Any idea what could be the problem?

Solved

12 Replies

diana
PRO

5 months ago

Hello, we're not currently seeing this TXT record in global DNS. Can you please confirm that this has been configured in your corresponding DNS provider? The record should be _railway-verify.hireshield.co

dig _railway-verify.hireshield.co TXT @1.1.1.1

; <<>> DiG 9.10.6 <<>> _railway-verify.hireshield.co TXT @1.1.1.1

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38144

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1232

;; QUESTION SECTION:

;_railway-verify.hireshield.co. IN TXT

;; AUTHORITY SECTION:

hireshield.co. 3601 IN SOA dns1.registrar-servers.com. hostmaster.registrar-servers.com. 1770310557 43200 3600 604800 3601

;; Query time: 8 msec

;; SERVER: 1.1.1.1#53(1.1.1.1)

;; WHEN: Thu Feb 05 16:01:57 PST 2026

;; MSG SIZE rcvd: 131


Status changed to Awaiting User Response Railway 5 months ago


djaenicke3
HOBBYOP

5 months ago

Yep everything seems to be configured properly and it has been like this for 24 hours.


Status changed to Awaiting Railway Response Railway 5 months ago


djaenicke3
HOBBYOP

5 months ago

Hi any help on this? the txt is never found on any of my instances, i am using NameCheap and they are saying there is no issue with their side. When i update TXT records for other services it is found almost instantly.


diana
PRO

5 months ago

Hello, That is definitely an odd issue.

I'd recommend reaching out to namecheap support and see if they can see why this isn't propagating on their side.

I ran a dig for their nameservers in particular and even that is returning NXDOMAIN for that TXT record.

dig _railway-verify.hireshield.co TXT @dns1.registrar-servers.com

; <<>> DiG 9.10.6 <<>> _railway-verify.hireshield.co TXT @dns1.registrar-servers.com

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 14167

;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 4096

;; QUESTION SECTION:

;_railway-verify.hireshield.co. IN TXT

;; AUTHORITY SECTION:

hireshield.co. 3601 IN SOA dns1.registrar-servers.com. hostmaster.registrar-servers.com. 1770310557 43200 3600 604800 3601

;; Query time: 20 msec

;; SERVER: 156.154.132.200#53(156.154.132.200)

;; WHEN: Fri Feb 06 11:02:59 PST 2026

;; MSG SIZE rcvd: 131


Status changed to Awaiting User Response Railway 5 months ago


congdv
HOBBY

5 months ago

I see the same error for me with txt record


Status changed to Awaiting Railway Response Railway 5 months ago


snugglepilot
PRO

5 months ago

I just figured this out. Namecheap automatically appends the domain name. Just enter _railway-verify in the host field.


snugglepilot

I just figured this out. Namecheap automatically appends the domain name. Just enter `_railway-verify` in the host field.

congdv
HOBBY

5 months ago

[strike]Do we need . in the end of _railway-verify like _railway-verify. ?[strike]

nvm it is not allow to have . in host


Status changed to Awaiting User Response noahd 5 months ago


5 months ago

We are having the same issue on squarespace... railway is not detecting the TXT.


Status changed to Awaiting Railway Response Railway 5 months ago


rhdzmota

We are having the same issue on squarespace... railway is not detecting the TXT.

5 months ago

I got it to work in squarespace. We were having an issue with subdomains, example: "..com"

Railway provides the TXT host field as "_railway-verify...com" which doesn't work for some providers. You should only register "_railway-verify." instead! Basically same pattern/fix as the one identified by @snugglepilot above 👍


npi3pak
HOBBY

5 months ago

I have the same issue with cloudflare


damassi
HOBBY

4 months ago

Edit: this seemed to resolve itself finally, but i had to upgrade to hobby (i think?). That wasn't clear.


4 months ago

The community identified the fix here: in Namecheap, the TXT host field should be just _railway-verify, not the full _railway-verify.hireshield.co (Namecheap appends the domain automatically). Your domain is no longer configured on Railway, so you'll need to re-add it and set the TXT record with just _railway-verify as the host. Feel free to reopen if you need help.


Status changed to Solved jr 4 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...