Custom domain UI not showing DNS targets after transfer to Cloudflare
ben-walker
HOBBYOP

14 days ago

My last two threads have been closed for "not being in English", third time's the charm hopefully, I transferred my domain to Cloudflare and I'm trying to assign a custom subdomain to a service in Railway. However it gets stuck on propagation and never shows the records I need (sorry keeping this intentionally vague to start in case certain acronyms or URLs are flagged as not English).

Solved$10 Bounty

Pinned Solution

Try using Railway’s GraphQL API to fetch the required DNS records.

14 Replies

Railway
BOT

14 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 14 days ago


Can you share the domain you’re trying to add?


0x5b62656e5d

Can you share the domain you’re trying to add?

ben-walker
HOBBYOP

14 days ago

I transferred slopornot.sh to Cloudflare, and I'm trying to add api.slopornot.sh to an API service in Railway.

However it gets stuck on "Waiting for DNS to propagate..." and never shows any CNAME/TXT records. I'm wondering if because it was previously a Railway domain if that's causing issues? The networking settings still show "Railway domain"


Try removing the domain from Railway and add it back.


0x5b62656e5d

Try removing the domain from Railway and add it back.

ben-walker
HOBBYOP

14 days ago

I've tried that a few times now and no dice


Try using Railway’s GraphQL API to fetch the required DNS records.


ben-walker

I've tried that a few times now and no dice

A lil update, the Team is aware of this bug and is now working on it.


0x5b62656e5d

A lil update, the Team is aware of this bug and is now working on it.

ben-walker
HOBBYOP

13 days ago

Thanks so much! In the meantime I'll give the GraphQL API a shot, should have some time later today.


Just so you know, the CNAME can be found under the dnsRecords property, but for the TXT record, you'll be able to find it under the verificationToken property. Yes, it's probably a bit "strange," so just wanted to give you a heads up about it.


0x5b62656e5d

Just so you know, the CNAME can be found under the `dnsRecords` property, but for the TXT record, you'll be able to find it under the `verificationToken` property. Yes, it's probably a bit "strange," so just wanted to give you a heads up about it.

ben-walker
HOBBYOP

13 days ago

Appreciate the heads up, got both those values, the status of the DNS record is DNS_RECORD_STATUS_REQUIRES_UPDATE, I'm guessing that means it's "not ready" behind the scenes? Or am I good to just toss those in Cloudflare?


ben-walker

Appreciate the heads up, got both those values, the `status` of the DNS record is `DNS_RECORD_STATUS_REQUIRES_UPDATE`, I'm guessing that means it's "not ready" behind the scenes? Or am I good to just toss those in Cloudflare?

You can just put the values into Cloudflare. (The TXT record should be on _railway-verify.<DOMAIN>)


The “requires update” means it’s waiting for you to add the DNS records.


ben-walker
HOBBYOP

13 days ago

Oh gotcha that makes a lot of sense - sorry one more dumb question, the CNAME should also go on _acme-challenge.<DOMAIN> I'm guessing?


ben-walker

Oh gotcha that makes a lot of sense - sorry one more dumb question, the CNAME should also go on `_acme-challenge.<DOMAIN>` I'm guessing?

Unless you’re adding a wildcard, the CNAME should be added directly on the domain you’re trying to use.


ben-walker
HOBBYOP

13 days ago

Perfect everything's working now, thanks for all the assistance!


Status changed to Solved passos 13 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...