this post was submitted on 29 Jun 2026
162 points (95.5% liked)

Technology

85998 readers
5049 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sem@piefed.blahaj.zone 1 points 15 hours ago* (last edited 15 hours ago) (1 children)

So a problem just came up today that encapsulates why IP addresses are still useful.

I have a webservice at http://jeopardy.local:9981/, but typing that into a web browser gives "Server Not Found".

But if I type in http://<ipaddress>:9981 it works perfectly.

It turns out that the problem is that flatpak Web browsers can't resolve mdns names.

The world is full of stuff like this which unfortunately makes ip addresses the most reliable way to reach selfhosted services.

[–] stardreamer@lemmy.blahaj.zone 2 points 14 hours ago* (last edited 13 hours ago) (1 children)

The point I'm making is that IP addresses are useful/used because they are the canonical way of reaching a service. If you have a name (via DNS), it still needs to be translated into an address because routing depends on arbitrary numerical addresses.

But they shouldn't be, and they don't have to be. They identify an interface, not the host. We have services on a single host running across multiple interfaces (multiple ports), or in some cases multiple services running on a single interface (k8s, cloudflare), or even sometimes multiple interfaces/servers masquerading as a single interface (DNS root servers).

The correct way to handle this is to identify services by a name, which means routing itself should be handled via name, not IP addresses. This is one of the things Named Data Networks (NDN) tries to solve. In this scheme, everything has a name. Not a numeric address. Memorizing 10.0.0.1 becomes a lot less important when you can always reach your service at "foo/bar/service".

Needless to say, this is currently not feasible because every single IP router in the world needs to be replaced with a NDN router, in which nobody would do. Vendors have already shown that when they can adapt new technologies or implement NAT, they will implement NAT.

Edit NDN wikipedia article https://en.wikipedia.org/wiki/Named_data_networking

[–] sem@piefed.blahaj.zone 1 points 1 hour ago

That is pretty cool!