logoalt Hacker News

himata4113 • today at 4:44 PM • 7 replies • view on HN

This makes me think about something. Why don't we support this as a standard?

It would be nice if local ipv6 spelled out "local"

imagine this: local::homelab in your url-bar just working

edit: Yes I know DNS solves this problem, but it would be very neat non the less, making 128bits of packet overhead actually serve a purpose without any software glue.


Replies

jjmarr • today at 5:26 PM

The `.local` TLD exists as a zeroconf domain name for this purpose on local networks. Your homelab can advertise as `homelab.local` without setting up custom DNS servers.

➕ show 1 reply
gregoriol • today at 4:48 PM

We want IPs to be distinctive from domains, having real words in both would be highly confusing

➕ show 1 reply
earthpyy • today at 4:47 PM

Maybe because IPv6 digits are hexadecimal? and we also have DNS service for that.

➕ show 1 reply
WorldMaker • today at 7:10 PM

mDNS already serves homelab.local style addresses.

Also, link local is almost always `fe80::` [0]. Today for privacy (and simplicity) reasons most devices pick a random address under that like `fe80::6923:83ab:201:273e`. But most operating systems allow configuring a static link address so if you really wanted you could use `fe80::403e:7ab` for something close to "homelab" (and `fe80::cafe` for your coffee maker) you absolutely can.

[0] The allocated range is fe80::/10 so fe(8|9|A|B)[0-F], but in practice it seems rare for devices today to use anything but fe80::.

lxgr • today at 7:09 PM

The 128 bits are serving a purpose alright: Globally unique host addressing.

Seems like you want to repurpose them to something completely different (what exactly)?

And what is “interpret this part of an IPv6 address completely differently than in all other contexts” if not software glue?

iknowstuff • today at 5:27 PM

mDNS does that. Your devices are already accessible on your network as eg “himatas-iphone.local” with no configuration required.

➕ show 2 replies
vel0city • today at 4:55 PM

I don't have to imagine, in fact its even easier. I can just go to http://brother in by browser and it goes to my brother printer. Incredible!