StackExchange / dnscontrol

Infrastructure as code for DNS!
https://dnscontrol.org/
MIT License
3.07k stars 389 forks source link

NETCUP: Unicode (non-punycode) not supported? #2451

Open killerbees19 opened 1 year ago

killerbees19 commented 1 year ago

It seems IDN domains are only supported with punycode format at v4.1.1.

/cc @kordianbruck

patschi commented 1 year ago

Just for some context: Same issue has been raised for provider INWX too, with issue #2450

kordianbruck commented 1 year ago

Yeah, seemingly there needs to be a decision what the input format for dnscontrol should be. I think Tom's suggestion there is reasonable and would address this issue.

tlimoncelli commented 1 year ago

(I just had this thought... it may be totally wrong but I'll put it out there)

Proposal:

Domains: The goal should be that the string a user enters in dnsconfig.js should match the string they see in the provider's web portal. That would simplify things for the user, and give us an obvious goal for how the code is supposed to work.

Records: The individual records should permit punycode and UTF-8, and be converted to the format that the provider prefers. This could be all UTF-8, all punycode, or a mix (use whatever string is in dnsconfig.js).

Would that work?

adamus1red commented 1 year ago

One note about "should match the string they see in the provider's web portal". That is not consistent between providers.

i.e. I have a domain registered via namecheap which uses the punycode, but DNS is on Cloudflare which uses the UTF-8 representation.

tlimoncelli commented 8 months ago

Related: https://github.com/StackExchange/dnscontrol/issues/2097