Bug Description
Services created via template deploy CLI command or deployFromSpecification GraphQL mutation do not get registered in Zeabur's internal DNS (*.zeabur.internal). This means other services in the same project cannot connect to them by hostname.
Only services created via the Dashboard Marketplace get internal DNS registration.
Steps to Reproduce
- Create a project on a dedicated server
- Deploy PostgreSQL via
template deploy:
npx zeabur@latest template deploy -i=false \
-f pg-template.yaml --project-id <id>
- Deploy a web service that connects to
postgresql-xxx.zeabur.internal:5432
- Web service fails with
getaddrinfo ENOTFOUND postgresql-xxx.zeabur.internal
Expected: Template-deployed services should have internal DNS just like Dashboard Marketplace services
Actual: No internal DNS entry, other services cannot resolve the hostname
Impact
This is a critical issue because:
- Database services (PostgreSQL, MySQL, Redis) are commonly deployed via templates
- Without internal DNS, the standard
${SERVICE.VARIABLE} reference pattern doesn't work
- Users must resort to hardcoding pod IPs (which change on restart)
Workaround
Deploy database services via Dashboard Marketplace instead of CLI template deploy.
Environment
- CLI version: 0.14.0
- Dedicated server: Linode_2v (Tokyo)
Bug Description
Services created via
template deployCLI command ordeployFromSpecificationGraphQL mutation do not get registered in Zeabur's internal DNS (*.zeabur.internal). This means other services in the same project cannot connect to them by hostname.Only services created via the Dashboard Marketplace get internal DNS registration.
Steps to Reproduce
template deploy:postgresql-xxx.zeabur.internal:5432getaddrinfo ENOTFOUND postgresql-xxx.zeabur.internalExpected: Template-deployed services should have internal DNS just like Dashboard Marketplace services
Actual: No internal DNS entry, other services cannot resolve the hostname
Impact
This is a critical issue because:
${SERVICE.VARIABLE}reference pattern doesn't workWorkaround
Deploy database services via Dashboard Marketplace instead of CLI template deploy.
Environment