this post was submitted on 31 Jan 2024
163 points (100.0% liked)

Selfhosted

45508 readers
767 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
all 50 comments
sorted by: hot top controversial new old
[–] blackstrat@lemmy.fwgx.uk 73 points 1 year ago (2 children)

If we didn't have a bazillion TLDs these days we'd be ok and everyone can carry on using .local or .lan and be happy that they're not real TLDs. Now when anything could be a TLD because every word you've ever heard is a TLD, you don't know if its real or not.

[–] Bitrot@lemmy.sdf.org 36 points 1 year ago (1 children)

Reserved TLDs are documented. The issue is they prioritized all the crazy ones before they added what people at home and businesses were actually using. ICANN won't sell .lan because it is used too much. They haven't tried so there is no official decision, but they won't - they did try .corp and .home and abandoned it.

.local is reserved in RFC 6762, but for multicast DNS.

[–] blackstrat@lemmy.fwgx.uk 8 points 1 year ago (1 children)

They're documented, but it's a big and ever expanding list.

[–] Bitrot@lemmy.sdf.org 5 points 1 year ago

The special use list for use by individuals and business is actually very small and hasn't been updated in a long time, which is a big part of the problem with people inventing their own.

[–] EncryptKeeper@lemmy.world 14 points 1 year ago (1 children)

People have been told for a very long time not to use fake TLDs. I don’t think it’s reasonable to accommodate people who can’t follow instructions.

[–] conorab@lemmy.conorab.com 36 points 1 year ago (2 children)

A good move!

I’m surprised they didn’t codify “.lan” though since that one is so prevalent.

[–] Atemu@lemmy.ml 3 points 1 year ago

It's used in many cases where the machine may not be on the LAN and LAN is a technical term. "Internal" is not and to me signifies that it's "not public" aswell as probably managed by someone, well, internally at the entity you're with.

[–] capnminus@lemmy.world 29 points 1 year ago

Certainly better than the awkward .home.arpa.

[–] Corngood@lemmy.ml 23 points 1 year ago (1 children)

Huh, I've seen .local used for this quite a bit and only just now realised that it's meant for something else.

I've also seen .corp 🤮

[–] perishthethought@lemm.ee 21 points 1 year ago (2 children)

And .home.

Hopefully this .Internal domain takes off and becomes generally recognized as the only correct non-routable domain we all use. Otherwise it's just the latest addition to the list of possible TLDs and confusion continues.

[–] foggy@lemmy.world 28 points 1 year ago (1 children)
[–] EddyBot@feddit.de 14 points 1 year ago* (last edited 1 year ago) (1 children)
[–] AceFuzzLord@lemm.ee 10 points 1 year ago (1 children)

That one is absolutely abhorrent because I know as a fact my parents would easily fall for a .zip domain leading to a virus infested site thinking it's actually them getting a zip file because they don't know better. At least the first few times they'd fall for it.

[–] onion@feddit.de 1 points 1 year ago* (last edited 1 year ago) (2 children)

How would you know?

Edit: Sorry I meant how would you yourself know whether it's a file or domain

[–] AtariDump@lemmy.world 8 points 1 year ago

Because they’re his parents, not yours

[–] AceFuzzLord@lemm.ee 4 points 1 year ago

The last time I talked to my mom about a zip file, she didn't even fully understand what a zip file is. That's how I know my mom would get confused.

My dad, he's better since he has and uses a laptop, so he knows more than my mom, but he's still not the brightest when he has CCleaner and malwarebytes installed simultaneously on his laptop. Hell, back around 2018-2019 he was extremely stubborn about me trying to fix the family computer that had a password that I didn't know on it. I just wanted to uninstall some bad programs (don't remember which ones) and my dad was getting super anal about it. I have no doubt if he did accidentally click on a .zip web link, we'd never know because he'd be too stubborn to admit it.

[–] Bitrot@lemmy.sdf.org 8 points 1 year ago* (last edited 1 year ago)

It's such a shitty situation. ICANN is not going to sell .home or .corp as they found a crapton of traffic when they checked for it, but IETF never finished an RFC for them - however people easily stumble into the draft RFC that lists what they were thinking of, and assume stuff like .lan is good to go too. They're safe by ICANN policy, but unsanctioned.

.home.arpa is safe, per RFC, but user unfriendly to normal people. There are a few others but none a corporation would realistically use. I've used . internal for lab testing stuff for ages, so this is extra good news for me I guess.

Really I wish they'd have just reserved the most common ones rather than getting caught in some bureaucratic black hole.

[–] Moonrise2473@feddit.it 12 points 1 year ago (1 children)

Too long to type, why it can't be .lan

[–] 0xD@infosec.pub 4 points 1 year ago (1 children)
[–] jol@discuss.tchncs.de 6 points 1 year ago

I heard he threw parties all the time

[–] kellyaster@kbin.social 9 points 1 year ago
[–] Hexarei@programming.dev 8 points 1 year ago

Meanwhile, for my homelab I just use split DNS and a (properly registered+set up) .house domain - But that's because I have services that I want to have working with one name both inside and outside of my network

[–] deadcatbounce@reddthat.com 5 points 1 year ago* (last edited 1 year ago) (2 children)

Don't follow. Help me out someone please.

The net runs on numbers. The numbers have to be translated into/from the DNS name to the numbers.

Nominating a DNS name as internal is doesn't change the fact that we still have to, at some stage, find the (local) network mask that that corresponds to.

What am I missing?

Update: I'm not sure I formed my question correctly because I'm none the wiser. That's my fault, I think.

[–] VelociCatTurd@lemmy.world 23 points 1 year ago (1 children)

It’s for internal resources. You can really use whatever subdomain you want internally, but this decision would be to basically say to registrars, this TLD is reserved, we will never sell this TLD to anyone to use. That way you know that if you use it internally, there’s no way a whoopsie would happen where your DNS server finds a public record for this TLD.

[–] BCsven@lemmy.ca 4 points 1 year ago (1 children)

I assumed that was what .local was all about

[–] VelociCatTurd@lemmy.world 3 points 1 year ago (1 children)

.local is for mDNS addresses.

[–] BCsven@lemmy.ca 2 points 1 year ago (1 children)

Can you explaim further: I'm savvy enough to install a custom kernel for a 14 year old arm board and flush drive boot sector with U boot, etc, so I can use it as a dedicated DAAP server, but Networking somehow eludes me

[–] VelociCatTurd@lemmy.world 4 points 1 year ago (1 children)

Sure. Though I’m not an expert on mDNS or anything. It stands for multi cast DNS. In a normal scenario, when your PC tries to connect to a local resource at its hostname it will use a local DNS server (or its own cache). It’s like a phone book. I know who I’m looking for, I just need to look in the phone book and see what their IP is. With mDNS there is no server. You’ll have a service that will plan to respond at a particular .local hostname, so like jellyfin.local (this is just an example, I don’t know if it has mDNS) but that isn’t registered on a server. Instead when your PC wants to reach jellyfin it will send a multi-cast to the other local devices and say “ok, I’m looking for some guy named jellyfin.local, which one of y’all is that?” And the jellyfin server will respond and say “yo what up, this is my ip address”

So anyway, that only works with .local addresses. You could use .local with a regular dns server, but then you may run into a conflict. So that would be the benefit of reserving .internal

[–] BCsven@lemmy.ca 2 points 1 year ago (1 children)

Thanks this is helpful. So .local hasn't been reserved for only on local LAN, and .internal would be registered so ot never looks outside of lan?

[–] VelociCatTurd@lemmy.world 2 points 1 year ago (1 children)

.local is definitely local but it’s common for it to be used with mDNS primarily. To the second part of your question, yes that’s correct, since it will be reserved it will not be any public DNS server, even if it did look outside it wouldn’t find anything.

[–] BCsven@lemmy.ca 2 points 1 year ago

Thanks, i appreciate you taking time to answer

[–] JakenVeina@lemm.ee 4 points 1 year ago

A DNS Proxy/Forwarder server? That's where you would configure how your .internal domain resolves to IPs on your internal network. Machines inside the network make their DNS queries to that server, which either serves them from cache, or from the local mappings, for forwards them off to a public/ISP server.

[–] cupcakezealot@lemmy.blahaj.zone 4 points 1 year ago (1 children)
[–] PipedLinkBot@feddit.rocks 1 points 1 year ago

Here is an alternative Piped link(s):

what are you proposing for you're always proposing just go

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] doctorn@r.nf 2 points 1 year ago* (last edited 1 year ago)

I just use *.loc.al as a local dns entry in my own server with local addresses using devicename.loc.al and loc.al itself going to my gateway/routerpage. 😅

[–] Decronym@lemmy.decronym.xyz 2 points 1 year ago* (last edited 1 year ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CA (SSL) Certificate Authority
DNS Domain Name Service/System
IP Internet Protocol
SSL Secure Sockets Layer, for transparent encryption
VPN Virtual Private Network

5 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.

[Thread #477 for this sub, first seen 2nd Feb 2024, 16:35] [FAQ] [Full list] [Contact] [Source code]