Skip to content

Add AutoDNS support and automate DNS configuration - #5178

Open
DenisHoppe wants to merge 3 commits into
Dokploy:canaryfrom
DenisHoppe:codex/autodns-provider
Open

Add AutoDNS support and automate DNS configuration#5178
DenisHoppe wants to merge 3 commits into
Dokploy:canaryfrom
DenisHoppe:codex/autodns-provider

Conversation

@DenisHoppe

@DenisHoppe DenisHoppe commented Aug 24, 2026

Copy link
Copy Markdown

Summary

Adds AutoDNS support and automatic dual-stack DNS configuration for application and Compose domains.

Changes

  • Adds AutoDNS provider support for zones and DNS records

  • Supports IPv4/IPv6 server addresses and AAAA records

  • Adds DNS-provider selection to domain forms

  • Automatically creates or updates A and AAAA records

  • Selects the most specific matching DNS zone

  • Detects wildcard A, AAAA, and CNAME records and avoids redundant records

  • Shows provider, zone, wildcard, and autoconfiguration details

  • Improves AutoDNS API error reporting

  • Adds database migration and automated test coverage

Validation

  • Domain and DNS type-checking passes

  • 148 targeted DNS, domain, Compose, and Traefik tests pass

  • Successfully deployed and verified on Dokploy v0.30.2

Greptile Summary

Adds AutoDNS integration and dual-stack automatic DNS management for application and Compose domains.

  • Adds AutoDNS zone and record operations with improved error reporting.
  • Associates domains with DNS providers and synchronizes A/AAAA records.
  • Adds IPv6 and internal-address support across server configuration and remote operations.
  • Extends domain and DNS-provider dashboard workflows and regression coverage.

Confidence Score: 4/5

The PR is not yet safe to merge because managed DNS records remain active after domain lifecycle changes that should retire them.

The domain update and deletion paths still never remove records created for the previous hostname or provider, so obsolete DNS routes remain live after the domain configuration changes.

Files Needing Attention: apps/dokploy/server/api/routers/domain.ts, packages/server/src/services/dns-provider.ts

Reviews (2): Last reviewed commit: "fix: address DNS provider review feedbac..." | Re-trigger Greptile

Context used:

DenisHoppe and others added 2 commits August 23, 2026 07:59
Add DNS provider selection to domains, synchronize dual-stack records, honor wildcard records, and expose provider zone details in the domain UI.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Aug 24, 2026
Comment thread packages/server/src/db/schema/dns-provider.ts Outdated
Comment thread packages/server/src/services/dns-provider.ts
Comment thread apps/dokploy/server/api/routers/domain.ts
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant