With the Caddy v2.10.0-beta.1, I get this error on startup:
```
$ ./caddy-v2.10….0-beta1 run --watch -c Caddyfile-dns-error
2025/03/06 22:05:50.510 INFO maxprocs: Leaving GOMAXPROCS=1: CPU quota undefined
2025/03/06 22:05:50.511 INFO GOMEMLIMIT is updated {"package": "github.com/KimMachineGun/automemlimit/memlimit", "GOMEMLIMIT": 1582722662, "previous": 9223372036854775807}
2025/03/06 22:05:50.512 INFO using config from file {"file": "Caddyfile-dns-error"}
2025/03/06 22:05:50.513 INFO adapted config to JSON {"adapter": "caddyfile"}
2025/03/06 22:05:50.514 INFO admin admin endpoint started {"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
2025/03/06 22:05:50.516 INFO http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 8443}
2025/03/06 22:05:50.516 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2025/03/06 22:05:50.518 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc000552b80"}
2025/03/06 22:05:50.518 INFO tls.cache.maintenance stopped background certificate maintenance {"cache": "0xc000552b80"}
Error: loading initial config: loading new config: loading http app module: provision http: DNS challenge enabled, but no DNS provider configured
```
This is my Caddyfile:
```caddyfile
{
http_port 8080
https_port 8443
debug
acme_dns cloudflare {file.cloudflare-api-key.txt}
admin localhost:2019
}
todo.stbu.net {
respond "test"
}
```
With caddy-v2.9.1 it's working and Caddy can start:
```
$ ./caddy-v2.9.1 run --watch -c Caddyfile-dns-error
2025/03/06 22:14:23.721 INFO using config from file {"file": "Caddyfile-dns-error"}
2025/03/06 22:14:23.723 INFO adapted config to JSON {"adapter": "caddyfile"}
2025/03/06 22:14:23.725 INFO admin admin endpoint started {"address": "localhost:2019", "enforce_origin": false, "origins": ["//[::1]:2019", "//127.0.0.1:2019", "//localhost:2019"]}
2025/03/06 22:14:23.726 INFO http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 8443}
2025/03/06 22:14:23.727 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2025/03/06 22:14:23.727 DEBUG http.auto_https adjusted config {"tls": {"automation":{"policies":[{"subjects":["todo.stbu.net"]},{}]}}, "http": {"http_port":8080,"https_port":8443,"servers":{"remaining_auto_https_redirects":{"listen":[":8080"],"routes":[{},{}]},"srv0":{"listen":[":8443"],"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"body":"test","handler":"static_response"}]}]}],"terminal":true}],"tls_connection_policies":[{}],"automatic_https":{}}}}}
2025/03/06 22:14:23.729 DEBUG http starting server loop {"address": "[::]:8443", "tls": true, "http3": false}
2025/03/06 22:14:23.729 INFO http enabling HTTP/3 listener {"addr": ":8443"}
2025/03/06 22:14:23.730 INFO failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
2025/03/06 22:14:23.731 INFO http.log server running {"name": "srv0", "protocols": ["h1", "h2", "h3"]}
2025/03/06 22:14:23.731 DEBUG http starting server loop {"address": "[::]:8080", "tls": false, "http3": false}
2025/03/06 22:14:23.732 WARN http HTTP/2 skipped because it requires TLS {"network": "tcp", "addr": ":8080"}
2025/03/06 22:14:23.733 WARN http HTTP/3 skipped because it requires TLS {"network": "tcp", "addr": ":8080"}
2025/03/06 22:14:23.733 INFO http.log server running {"name": "remaining_auto_https_redirects", "protocols": ["h1", "h2", "h3"]}
2025/03/06 22:14:23.734 INFO http enabling automatic TLS certificate management {"domains": ["todo.stbu.net"]}
2025/03/06 22:14:23.735 DEBUG tls.cache added certificate to cache {"subjects": ["todo.stbu.net"], "expiration": "2025/05/13 17:02:13.000", "managed": true, "issuer_key": "acme-v02.api.letsencrypt.org-directory", "hash": "951e9c1498a2fd04914f6a6a288684a419d2a47702e4c484605c1659c4dcfcb3", "cache_size": 1, "cache_capacity": 10000}
2025/03/06 22:14:23.735 DEBUG events event {"name": "cached_managed_cert", "id": "4c9a92f4-ffd6-4cfc-87ad-65d8ccc3e62c", "origin": "tls", "data": {"sans":["todo.stbu.net"]}}
2025/03/06 22:14:23.736 INFO autosaved config (load with --resume flag) {"file": "/home/stbu/.config/caddy/autosave.json"}
2025/03/06 22:14:23.737 INFO serving initial configuration
2025/03/06 22:14:23.738 INFO watcher watching config file for changes {"config_file": "Caddyfile-dns-error"}
2025/03/06 22:14:23.738 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc000afc700"}
```