-
Notifications
You must be signed in to change notification settings - Fork 3
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
Remove trailing dot from the fqdn when present #35
Conversation
Test coverage for 9cc9018
Static code analysis report
|
Maybe we should consider saving fully qualified domain names with the trailing dot in the database, instead of stripping the trailing dot from the FQDN? In a zone file, a relative name (without a trailing dot) is considered an error unless concatenated with an origin. https://datatracker.ietf.org/doc/html/rfc1035#section-5.1 Of cause I might be wrong since I don't know if the same standard for DNS zone files should be apply to databases in httprequest-lego-provider. |
Good point, however, what we'll be storing in the repo on a file per domain will be the subdomain with the challenge, for instance, for example.canonical.com well have a We are just discarding the trailing dot since we have to support both formats, with, and without, as per to https://go-acme.github.io/lego/dns/httpreq/ |
Understand, thanks for the explanation. |
Applicable spec: https://go-acme.github.io/lego/dns/httpreq/
Overview
Remove trailing dot from the fqdn when present, per the spec above
Rationale
N/A
Module Changes
forms.py
Checklist
urgent
,trivial
,complex
)