Add AutoDNS support and automate DNS configuration - #5178
Open
DenisHoppe wants to merge 3 commits into
Open
Conversation
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>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
AAAArecordsAdds DNS-provider selection to domain forms
Automatically creates or updates
AandAAAArecordsSelects the most specific matching DNS zone
Detects wildcard
A,AAAA, andCNAMErecords and avoids redundant recordsShows 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.
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: