You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a91142a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: custom-domain/dstack-ingress/DNS_PROVIDERS.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,9 @@ PolicyDocument:
108
108
109
109
**Important Notes for Route53:**
110
110
- The certbot plugin uses the format `certbot-dns-route53` package
111
-
- CAA will merge AWS & Let's Encrypt CA domains to existing records if they exist
111
+
- CAA values are merged into the existing record set at the name: only values with the same tag are replaced, so `iodef` and other tags are kept
112
+
- Where a CAA record shares the name (`DELEGATION_ZONE`, or `SET_CAA=true` on a non-wildcard domain), the gateway pointer is an A record to the resolved gateway IP instead of a CNAME, replacing any CNAME in the same change. It is refreshed every `RENEW_INTERVAL`
113
+
- Wildcard record names are listed by Route53 as `\052.<domain>`; they are matched as `*.<domain>`
112
114
- It is essential that the AWS service account used can only assume the limited role. See cloudformation example.
Copy file name to clipboardExpand all lines: custom-domain/dstack-ingress/README.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,9 @@ dstack-ingress is a HAProxy-based L4 (TCP) proxy that provides:
29
29
You can use a wildcard domain (e.g. `*.myapp.com`) to route all subdomains to a single dstack application:
30
30
31
31
- The TXT record is automatically set as `_dstack-app-address-wildcard.myapp.com` (instead of `_dstack-app-address.*.myapp.com`)
32
-
- CAA records use the `issuewild` tag on the base domain
32
+
- CAA records use both the `issuewild` and `issue` tags on the base domain: `issuewild` alone would leave other CAs free to issue for non-wildcard subdomains
33
+
- If the base domain is a zone apex (`*.myapp.com` served off the `myapp.com` zone), that `issue` record replaces any existing `issue` values there and governs every name in the zone without its own CAA record, so other CAs or ACME accounts can no longer issue for them. The container warns about this; give those names their own CAA records, or set `SET_CAA=false`. On Route53 this also removes the Amazon `issue` values that older versions wrongly added at the apex
34
+
- Two deployments with different ACME accounts, one serving `myapp.com` and one `*.myapp.com`, both write the `issue` record at `myapp.com` and overwrite each other's on every pass. Serve both names from one deployment, or set `SET_CAA=false` on one of them
33
35
- Requires dstack-gateway with wildcard TXT resolution support ([dstack#545](https://github.com/Dstack-TEE/dstack/pull/545))
34
36
35
37
```yaml
@@ -173,7 +175,7 @@ otherwise arbitrary — the gateway answers every name under its domain.
173
175
| `PORT` | `443` | HAProxy listen port |
174
176
| `DOMAINS` | | Multiple domains, one per line or one comma-separated line. Without `ROUTING_MAP`, all of them go to `TARGET_ENDPOINT` |
175
177
| `ROUTING_MAP` | | Multi-domain routing: `domain=host:port`per line. A wildcard entry (`*.example.com=host:port`) matches one label, and exact entries take precedence over it. Unmatched names go to the first entry |
176
-
| `SET_CAA` | `false` | Enable CAA DNS record (dns-01 only; tls-alpn-01 cannot write DNS) |
178
+
| `SET_CAA` | `false` | Enable CAA DNS record (dns-01 only; tls-alpn-01 cannot write DNS). Replaces existing values with the same tag; for a wildcard whose base is a zone apex this restricts the whole zone (see [Wildcard Domain Support](#wildcard-domain-support)). Except on Cloudflare, a non-wildcard domain is then published as an A record to the gateway's current address instead of a CNAME, because a CNAME would hide the CAA beside it; the address is refreshed every `RENEW_INTERVAL`. Turning `SET_CAA` off later leaves the CAA record in place, so the A record stays until you delete the CAA |
177
179
| `TXT_PREFIX` | `_dstack-app-address` | DNS TXT record prefix |
178
180
| `ACME_EMAIL` | | ACME contact address, in either mode. `CERTBOT_EMAIL` is the historical name and still works. See [below](#the-acme-contact-address-is-optional-and-public) — it is optional, and published |
179
181
| `ACME_STAGING` | `false` | Use Let's Encrypt staging, in either mode. `CERTBOT_STAGING` is the historical name and still works |
0 commit comments