Private networking DNS returns no records — services not registered
eirias
HOBBYOP

a month ago

My services (PostGIS, Redis, and my app) are all in the same project and environment with private networking enabled, but internal DNS

resolution fails for all .railway.internal hostnames.

Diagnostics from inside the running container:

- resolv.conf correctly points to fd12::10

- Container has IPv6 address on railnet0 in fd12::/16 range

- dig @fd12::10 <service>.railway.internal AAAA → empty response (ANSWER: 0)

- dig @fd12::10 <service>.railway.internal ANY → status: NOTIMP

- getent hosts <service>.railway.internal → exit 2

- Public hostnames resolve fine from the same container

- Tested all name variants: full FQDN, short names, .internal suffix — all fail

The DNS server is reachable and responds to queries, but returns no records for any service. It appears the services are not registered in the

internal DNS.

Setup: Swift/Vapor app, ubuntu:jammy runtime, all services same project/environment. Account ~20 days old.

Solved

1 Replies

eirias
HOBBYOP

a month ago

Okay, I set everything up again in a new project. And now it works, ..... weird.


Status changed to Solved brody 27 days ago


Loading...