-
Notifications
You must be signed in to change notification settings - Fork 17
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
Discussion: Follow redirects in DNS? #40
Comments
That's a good question. I suppose the argument is, you might have |
Precisely! |
A couple notes:
I find the simplicity of the "no redirects allowed" status quo appealing, but I guess I can't back that up with any reason to break the HTTP(S) "default" of following redirects. |
For lets encrypt you need to have .well-known accessible on both "www.domain.tld" and "domain.tld" without redirect, which is why you often special case this folder in redirect rules (however you manage those) |
There are several reasons/justifications, I find the one about cookies the most convincing.
No, all browsers seems to have a maximum number. 2012, so a bit dated https://stackoverflow.com/questions/10895406/what-is-the-maximum-number-of-http-redirections-allowed-by-all-major-browsers
I don't know how netlify handles this, but it supports Let's Encrypt and redirects .well-known. |
I can't think of any reasons against this yet, but I do share @bnewbold's vibe that I'm unsure about adding complexity. Perhaps if we can't think of a good reason not to after a couple weeks, we move forward? |
We discussed this in the WG and ultimately decided to give this a "soft no." Our concerns are:
We've decided to leave the issue open so that more people can comment, but we're not going to move forward with the change for now. Sorry @Biserkov. I appreciate why you'd want this, but we're just concerned about using the DNS layer to do it. Is it possible there's another point in the stack this could be done? |
I like this "soft no" approach. I've managed to solve my use case via the DNS route. |
Currently the proposal says:
A lookup for dat://www.biserkov.com will hit https://www.biserkov.com/.well-known/dat and everything will work.
But a lookup for dat://biserkov.com will hit https://biserkov.com/.well-known/dat which returns HTTP/1.0 301 Moved Permanently so the lookup will fail.
I believe this situation is quite common, with the current wisdom against apex domains and stuff.
The text was updated successfully, but these errors were encountered: