-
|
mtg/contrib/sni-router/Caddyfile Line 3 in e5ce720 Could somebody clarify Caddy-DNS Dynu settings for me, please? Sorry it's a bit offtop here, still, comments are welcome: caddy-dns/dynu#7 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Not really an mtg question — the sni-router Caddyfile uses HTTP-01 ( The rule:
So your config: is right. caddy-dns/dynu#7 makes the README cover both cases instead of only the one where they collapse. |
Beta Was this translation helpful? Give feedback.
Not really an mtg question — the sni-router Caddyfile uses HTTP-01 (
http_port 80), there's no DNS-01 / Dynu plumbing here. Your config in caddy-dns/dynu#7 is correct, the README is just unclear.The rule:
own_domain= the zone root Dynu's API recognizes (what/dns/getroot/{hostname}returns), not the cert subject. Whether they coincide depends on which free TLD you picked:my.dynu.com— your owned root ismy.dynu.com. Cert subject andown_domainhappen to match. The README's example reflects this case.<sub>.loseyourip.com— Dynu delegates the zone at<sub>.loseyourip.com.<host>.<sub>.loseyourip.comis a record inside that zone, not its own root, so the API can't resolve a domain by tha…