this post was submitted on 19 Jun 2024
306 points (85.4% liked)

Programmer Humor

19735 readers
938 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Today in our newest take on "older technology is better": why NAT rules!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 5 months ago (2 children)

I don't get why '.local' isn't a top level domain for LAN hosts.

[–] [email protected] 4 points 5 months ago (1 children)

I've taken to using .here (or .aqui, "here" in Español, much harder to match outside) as alternatives until something better comes up.

Ideally I'd use .aquí, correctly with the diacritic, but DNS doesn't seem to support even the basics of Unicode in 2024.

[–] [email protected] 1 points 5 months ago (1 children)

Well, there is Punycode, which, if I understand correctly, is a layer before DNS, which translates a Unicode string into a DNS-compatible ASCII string.

I don't actually recommend using that, though. Every so often, the ugly ASCII string shows up in places, because Punycode translation isn't implemented there. Certainly increases administration complexity.

[–] [email protected] 1 points 5 months ago (1 children)

Yeah I've heard about punycode. Personally, I'm well against it because it puts down non-MURRICAN English domain names as second-class citizens on the internet. If I have a website about Copiapó, a perfectly legal town, there's no good reason why the domain name should not be copiapó.cl rather than copiap-xcwhngoingohi4oleleiyho42yt4ptg4ht4.cl, making it look "suspect" and "malware-y".

There were quite some complains back in the time about Firefox choosing not to "flag" internationalized names as potentially dangerous, and pretty much all those complaints that I know of likely came from English speakers who simply can't understand other countries in the world even can have different alphabets.

[–] [email protected] 1 points 5 months ago

I mean, there is some legitimate concerns. For example, in theory, someone could register a domain "αpple.com" and use that to send phishing mails. That "α" is an alpha. The more alphabets and letter variants you allow, the more lookalikes there will be.

But yeah, in practice, domain registrars check that you're not registering such a lookalike domain and then that's not really a problem, as far as I'm aware.

[–] orangeboats 3 points 5 months ago (1 children)

.local is already used by mDNS

[–] [email protected] 1 points 5 months ago

Ah, that makes sense. I just knew it was unavailable. Apparently .lan is fine to use, I think I'll try that next time.