Domain TXT record not shown in CLI
cezary
PROOP

5 months ago

I using railway CLI in GH workflow to setup preview apps.

I need custom domains.

My workflow is:

1. Setup neonDB fork.

2. Copy my "base" environment railway environment new "$ENV_NAME" --duplicate

3. Set neonDB URL in services that requires it.

4. Setup custom domains on some services using CLI.

5. Deply services with `railway up`

5. Use Cloudflare API to set DNS records.

The TXT record is not returned in CLI. It is shown in UI.

Without it the domain do not get verified. How do I work with that?

Maybe I'm doing something completely wrong.

Attachments

Solved

2 Replies

5 months ago

Hello,

This has been fixed in v4.30.3. We now print the TXT host and required value, either in plaintext or in json with --json


Status changed to Awaiting User Response Railway 5 months ago


cezary
PROOP

5 months ago

Thanks for fixing this.

Nitpick: It does seem a bit out of place in "verificationToken" and "verificationDnsHost" instead of an entry in "dnsRecords" array.


Status changed to Awaiting Railway Response Railway 5 months ago


Status changed to Solved cezary 5 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...