this post was submitted on 08 Aug 2024
499 points (99.2% liked)

Selfhosted

40445 readers
376 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 34 points 3 months ago (4 children)

Why do I care what ICANN says I can do on my own network? It's my network, I do what I want.

[–] [email protected] 35 points 3 months ago (2 children)

Try using .com for your internal network and watch the problems arise. Their choice to reserve .internal helps people avoid fqdn collisions.

See also https://traintocode.com/stop-using-test-dot-com/

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

Well as long as the TLD isn't used by anyone it should work internally regardless of what ICANN says, especially if I add it to etc/hosts

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

Sure, you can do whatever you want. You could even use non-rfc1918 addresses and nobody can stop you. It's just not always a great idea for your own network's functionality and security. You can use an unregistered TLD if you want, but it's worth knowing that when people and companies did that in the past, and the TLD was later registered, things didn't turn out well for them. You wouldn't expect .foo to be a TLD, right? And it wasn't, until it was.

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

Ah good point. I guess a future-proofed guarantee that the domain will never be used externally would be easier to use than trying to somehow configure my DNS to never update specific addresses.

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

German router and network products company AVM learned the hard way that this is a bad idea. They use fritz.box for their router interface page and it was great until tld .box became publicly available and somebody registered fritz.box.

Having a reserved local/internal only tld is really great to prevent such issues.

[–] [email protected] 4 points 3 months ago (2 children)

I agree that this is a good idea, but I wanted to add that if someone owns a domain already, they can also use that internally without issue.

If you own a domain and use Let's Encrypt for a star cert, you can have nice, well secured internal applications on your network with trusted certificates.

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

You don't even need a star cert.. The DNS challenge works for that use case as well.

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

I agree, if you're putting your internal domain names into the public DNS you do not need a star cert.

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

No, you don't need to do that.

[–] [email protected] 2 points 3 months ago

Maybe I'm missing something then, how would you pass a DNS challenge?

[–] [email protected] 2 points 3 months ago

That is great when using only RFC 1918 IPv4 addresses in the network, but as soon as IPv6 is added to the mix all those internal only network resources can becomes easy publicly available and announced. Yes, this can be prevented with firewalling but it should be considered.

[–] [email protected] 2 points 3 months ago

If you just run a personal private network, then yea pick anything because you can change it fairly easily. Companies should try to stick to things that they know won’t change under them just to avoid issues

[–] Voroxpete 20 points 3 months ago (1 children)

Certain domain names are locally routed only. So if you use internal or local as a tld, you can just assign whatever names you want and your computer won't go looking out on the internet for them. This means you and I can both have fileserver.local as an address on our respective network without conflicting. It's the URI equivalent of 192.168.0.0/16.

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

Interesting that you should use ".local" as an example, as that one's extra special, aka Multicast DNS

[–] [email protected] 18 points 3 months ago

YouCANN do anything you want?

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

The value of the DNS is that we all use the same one. You can declare independence, but you'd lose out on that value.

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

the only losers in this situation are people that are squatting on my rightfully pirated domain names!