-
Notifications
You must be signed in to change notification settings - Fork 281
Figure out how to interact with DNS and HTTPS #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't like the idea of having an embedded DNS server. That's too much for maddy IMO, DNS is hard to get right. |
Yeah, that's probably a better idea. |
That still leaves the question of TLS: where do we get certs from? It would be nice to be able to have automatic TLS. Maybe we can use https://github.com/mholt/certmagic (maybe it requires having an HTTP server) MTA-STS involves serving an HTTPS document btw. |
Well, I guess we can then start net/http server and bind on 127.0.0.1:some_probably_unused_port to serve just this file. Note that it is important to be able to change the port or fully disable this feature. |
MTA-STS requires port 443. And I think it's the same for ACME challenges… |
Leave the job of HTTPS to reverse proxy then? I never liked this automagic with TLS, right now it just increases complexity by restricting use-cases (separate domain for mail) and requiring more actions to be taken to work in existing environments (clashes with caddy and manual TLS configuration). |
Issue #67 had some discussion related to the HTTP endpoint module starting at #67 (comment). I guess we are going with approach outlined in #67 (comment). |
Just FYI caddy server has some code for interacting with a variety of DNS providers' APIs, so that it can automatically create DNS entries: https://github.com/caddyserver/dnsproviders |
Things like DKIM, MTA-STS are tightly coupled with DNS and HTTPS.
Should we become tiny DNS/HTTPS servers too?
The text was updated successfully, but these errors were encountered: