lexicon icon indicating copy to clipboard operation
lexicon copied to clipboard

Domain name lower case enforcement

Open trinopoty opened this issue 4 years ago • 2 comments

This is related to #6972 on Certbot. Lexicon uses == for comparison of domain names. Since python's == is case sensitive for strings and domain names are case insensitive, this causes issues sometimes as in the issue mentioned above.

This should be fixed so that all operations on domain names first convert to lower case.

trinopoty avatar Nov 05 '19 17:11 trinopoty

Shouldn't all DNS names be forced lowercase? (I mean converted to lowercase upon input)

marcelloromani avatar Nov 12 '19 09:11 marcelloromani

It should be but there are inconsistencies in various places. For instance, the linode api does not convert domain names to lower case by default. This caused issues with certbot that converts all domain name to lower case.

This issue is a call to check all provider code to make sure they don't treat domain names anywhere as case sensitive.

trinopoty avatar Nov 13 '19 09:11 trinopoty