In a lot of countries that were not lucky enough to get online early, the ISPs were not able to get IPv4 for every CPE WAN interface. If you go to the by-country tab, you'll find a number of countries are >70%:
The fact that the US has a lot of IPv4, and a lot of software companies are in the US, may mean that a lot of software is IPv4-centric just because the US-centric outlook can ignore IPv6 with little personal impact. If more devs that to dogfood being behind a CG-NAT I think things would change.
Mobile networks and consumer home use. "Happy eyeballs" protocols runs on most consumer devices at this point (preferring IPv6 over v4 at all times unless v6 is intolerably slower).
This has forever been and will forever be the dumbest anti-IPv6 complaint.
How often do you really need to communicate a complete IP address manually, human to human, via voice or handwriting where you can't just copy/paste?
I mean REALLY NEED. Not just "I'm too lazy to set up DNS", not some hypothetical nonsense where you've found yourself on a network that has functional IPv6 but all autoconfiguration beyond SLAAC is disabled, etc. It just doesn't happen at a rate sufficient to justify how much people like you whine about it.
DNS works. You set it up correctly once when you provision the system, it stays working, you never need to think about a raw IP address again until it's time to deploy a new system or something weird happens like changing a NIC. If your DNS is that broken that you can't depend on it, fix that first and stop worrying about trying to remember complete addresses. If you need to tell a colleague what system you're looking at and DNS is not properly configured for that system, "the one ending in 44a1" is more than sufficient 99% of the time in the same way "the one ending in 127" was for v4 and the rest of the time you have computers and copy/paste works.
Actually yesterday I was at a client doing a demonstration. I am a software developer, but not an IT/network guy, so I just knew to connect to their network, look at ipconfig and tell them the IP of my computer so they could connect to my machine to test the software. I just look at it and said "i'm at zero point fifty four" (it was 192.168.0.54). How would this look in IPv6? (It's a genuine question, because from what I see it would be something like "i'm at f e seven four colon colon colon zero one a", it honestly adds friction.
mDNS autodiscovery by name would be my preferred solution, which should work by default on major OSes as long as the network operator or device administrator hasn't gone out of their way to break it. .local
Like I said in my previous post, for the most part if you need to actually communicate the raw IP that probably means something has gone wrong and you're now troubleshooting with someone who should have access to a higher level view of the network where "the one ending in 3 charlie echo 5" should be more than sufficient just like it would be if you were communicating a MAC address while troubleshooting DHCPv4 issues.
In the 12 years I've had a dual-stack network I've never had to communicate a full IPv6 address verbally, but if I did I'd pretty much do it the same way I would an IPv4 address. One group at a time, with a pause implying the separator. If there was one or more zero subnets involved that could be shortened with double-colon I'd say that.
For example the record I just got back for Google of 2607:f8b0:4023:141b::71 I'd read off as:
two six zero seven (or maybe twenty-six oh seven)
foxtrot eight bravo zero
four zero two three (or maybe forty twenty-three)
one four one bravo
double colon
seven one
edit: HN makes it way harder than it should be to have multiple lines.
If you have a Mac or Windows laptop, since they configure mDNS by default, you could say .local. The client will do a mDNS query and get your IPv4 or IPv6 address and connect.
That was the whole point of mDNS.
This will work even on a pure ipv6 network (with no hosts having ipv4 addresses).
I have a completely default single router setup at home. I know .50 is my desktop and .1 is my router. How do I reach that via mDNS instead? Pretty sure this is broken.
~ $ arp -a
? (192.168.50.1) at e8:9c:25:52:83:10 on en0 ifscope [ethernet]
? (192.168.50.9) at 64:9a:63:eb:ed:f1 on en0 ifscope [ethernet]
? (192.168.50.50) at 14:98:77:70:17:a7 on en0 ifscope [ethernet]
On a Mac, run `dns-sd -B _ssh._tcp` to find all machines advertising SSH on your local network. From there, you can either use the advertised `.local` hostname directly, or you can pass the advertised friendly name to `dns-sd -G v4` to resolve it to an IPv4 address.
AFAIK you must always specify a service like `_ssh._tcp` or `_http._tcp`; you can’t ask dns-sd to just dump all the advertised mDNS services on your network. That might be possible with the underlying `nw_browser_t` APIs, though.
Thanks, so this one works for my Mac (.50) in particular but not my RPi on the same network with an SSH server, because turns out it doesn't advertise that by default.
"you can’t ask dns-sd to just dump all the advertised mDNS services on your network": I ran into this too. So besides the defaults and maybe network itself standing in the way, the tooling around mDNS is user-unfriendly.
mDNS doesn't work for the average user. They're also not going to set up regular DNS unless they're trying to cope with IPv6. They memorize IP addresses as needed. It's not just me.
There must be like 3 end users who actually use mDNS knowingly, which is why the tooling feels like an unhappy path. Like there's no way to list all hosts, even though the OS presumably knows that somewhere. Supposedly this is in the spec. The best you can do is list hosts that advertise services.
What did mDNS do to hurt you? You are spouting blatant wrongness in this thread.
mDNS is mostly FOR the average user, and it works great for them. AirPlay, Google Cast, Miracast, all mDNS. Google Home, Apple HomeKit, Matter, all mDNS. AirPrint/IPP/Mopria printers, all mDNS. Windows still uses a lot of its own proprietary autodiscovery but even there Microsoft has prioritized mDNS over the old NBT stuff.
> They memorize IP addresses as needed.
No, normal people use names, mostly delivered these days over mDNS. There are millions of consumer-targeted appliances and entry-level DIY projects intended for people who need a picture to not put the SD card in the Raspberry Pi where the instructions, after powering it up, say to open up a browser and navigate to .local (or more often with commercial devices, open the app which will be listening for that specific appliance's service advertisement.
> There must be like 3 end users who actually use mDNS knowingly, which is why the tooling feels like an unhappy path.
You are right on this, most users don't use it knowingly, because it just works and they don't have to know anything about what's been built on top of it.
> Like there's no way to list all hosts, even though the OS presumably knows that somewhere.
No, the OS does not know all hosts, it only knows the hosts that have advertised or probed for conflicting names while it's been attached to the network. If you connect your device to the network after I've connected mine, as long as there's not a name conflict your device has no idea mine exists unless it's advertising services. Service advertisements are cached, but hostnames are not because for obvious reasons you generally aren't going to be accessing most of the hosts on a given network ever. When you need to access whatever.local your device emits a mDNS query looking for A or AAAA records the same as it would for normal DNS, and caches the result based on TTL the same way as it would for a normal DNS record.
> The best you can do is list hosts that advertise services.
You're saying this like there's some other solution which lets you list every host in the network even if it's not advertising services, which...there isn't.
The question was if someone wants to connect to a device manually, do they use mDNS or IP. But anyway, you gave a list of some of the flakiest services. I've used Macs since the early 2000s, there's no bonjour without some pain. Just had a meeting today where they wanted to AirPlay to the conference room TV and gave up. It's a FAQ how to forcibly AirPlay to a given ip instead of relying on discovery. Many other commercial IoT devices use ad hoc wifi networks, BT, etc for initial setup.
You mentioned newbs using RPis. https://www.raspberrypi.com/documentation/computers/remote-a... "Most methods of connecting to your Raspberry Pi from another machine require you to know the local IP address of your Raspberry Pi" and then, as the main suggested approach, it has you write down the IP displayed onscreen. OctoPrint does suggest mDNS, but with the caveat "if your computer supports bonjour," otherwise says to use the IP.
> You're saying this like there's some other solution which lets you list every host in the network even if it's not advertising services, which...there isn't.
I mean yeah, that's part of the problem. You can blame the devices for having bad defaults, but all of them use ipv4 properly. mDNS is more moving parts.
> No, normal people use names, mostly delivered these days over mDNS
You said what I would had said if I had the patience to do so, with only one caveat: most people don't even use the names because most of the time they do the thing, it runs the discovery and show up the devices which did respond.
Sure, there are some people who use mDNS names to SSH to the some machine. Like a dozen on the whole planet.
> I was answering the question of “how do I discover another host’s mDNS hostname?” It turns out that is a per-service question.
No, it's not. That is a service address, not the host's hostname.
The host's hostname is whatever the computer is named, which if you are in a position where you're wanting to give someone else its IPv4 address or access your own thing via its IPv4 address you definitely can also know it's hostname because it's either shown in the same parts of the GUI or one command away. On a lot of CLI systems it's literally in the prompt.
Either way it's not advertised unless that host is configured to advertise itself, you have to query for it and the host will then respond.
Not every host lets you SSH into it to run commands. The mDNS hostname is not always the same as your system hostname since it can change due to conflicts. Some Linux distros don't even have a built-in util to show your own mDNS name.
> Not every host lets you SSH into it to run commands.
Not sure how this is relevant. The context we're talking about here is someone wanting to communicate to another person how to connect to their laptop. We can assume that this person has sufficient access to the device to get this information.
You're not trying to work backwards from an unknown device here, if you're doing that you presumably have the ability to copy/paste the full address from whatever tool you used to identify the device's existence on the network.
> The mDNS hostname is not always the same as your system hostname since it can change due to conflicts.
And it changes in predictable ways, with the mainstream desktop OSes presenting a notification to the user in case of conflicts. If yours doesn't, consider that a flaw in your OS.
Also, if this is a real issue you run in to more than once in a blue moon it's probably worth picking a more unique name.
> Some Linux distros don't even have a built-in util to show your own mDNS name.
systemctl status avahi-daemon
should do the trick on any mainstream Linux distro, and if you're one of the anti-systemd crowd you presumably know your equivalent.
Only if you know the name already and no two hosts took the same name, assuming it works at all. Shouldn't those question marks be the hostnames on arp -a? On some networks it shows them, on others it doesn't.
> Only if you know the name already and no two hosts took the same name, assuming it works at all.
We're talking about somebody who knows how to get the IPv4 address of their computer, the hostname is available in basically the same exact place on every single system, and easier to remember, and remains the same on every network unless there's a conflict.
It works as long as the network operator of system admin hasn't gone out of their way to break it.
> Shouldn't those question marks be the hostnames on arp -a? On some networks it shows them, on others it doesn't.
Those question marks will fill in if there is a reverse dns entry in the local DNS server, which is set in IPv4 networks based on the device putting its hostname in the DHCP request. Most consumer combo gateway devices will do this by default as does Windows DHCP, but a lot of business firewall devices don't do it at all or don't do it by default.
Either way, that's not relevant to IPv6, mDNS is the way.
"Most consumer combo gateway devices will do this by default as does Windows DHCP, but a lot of business firewall devices don't do it at all or don't do it by default.": Guess that explains it. I have a home router, but maybe its defaults are more business-like.
I'm pretty frequently in a scenario where I know local v4 addrs but not hostnames, usually on a network that's not my own. But even on my own network cause there's no simple way to discover the names, so not everything is a Linux box I can SSH into to ask the hostname. I'd use mDNS if I could reliably type something in to show all the DNS entries on the LAN, never having to diagnose any issues with this.
I haven’t used Linux in over 10 years on a laptop, but even back then this was very well supported there as well. `ssh foobar.local` just worked, for example.
Just as LAN addresses (link local) are usually 192.168.$x.$y and you are just passing $x.$y, with IPv6 they are usually `fe80::$z` and in theory you could just pass $z and the person on the other end can assume `fe80::`. Because of how double colon works $z could be just 54 in a similar situation (especially if link local addresses are statically assigned like most workplaces try to statically assign IPv4 addresses).
Same with ULA addresses like 10.$x.$y.$z for private networks. Most of those you can assume `fd$x::$z` and just need to pass whatever is on the other side of the double colons. (Where $x is optional and likely network-wide.)
They're long though. Just checked and my desktop has fe80::1068:f88b:8b1b:4e45 for en0. They can't be short because of possible collisions, unless you're using DHCP or manually allocating static ones, and DHCP6 isn't broadly supported on hosts or routers.
Sure, most systems default to SLAAC which creates random long addresses. You can manually allocate them just fine and short addresses aren't going to cause collisions (and if they did, SLAAC handles it). Some of the networking people most (ab)using 192.168.x.y heavily are manually allocating them.
DHCP6 is pretty well supported on a lot of Enterprise routers, so the fd:: ULA space, which is what DHCP6 is most good for, has no required reason to be long addresses (outside of silly things like this link's mentioned Tailscale fingerprinting/advertising IP).
When, every single network I've ever used has had a broken mDNS. And there's no way I'm managing a DNS server just to have memorable addrs, especially when it's not my own network. Edit: Also this post is about a DNS server address, so you're not going to use DNS to find it.
If you want a real example, I was at a nonprofit event helping with their video livestream. They have a Zowiebox that displays its IP address on a digital display. I reached its web management portal that way on their Windows PC that ofc had no nmap etc installed. Oh and that box is IPv4-only.
How can a network have “a broken mDNS”? mDNS is a distributed protocol spoken by the devices on it, not something centrally/administratively provided like DHCP.
Not saying it's centrally administered, but there are ways it can be centrally broken. I honestly don't even know why mDNS doesn't work on my home network, I didn't change anything.
> How often do you really need to communicate a complete IP address manually, human to human, via voice or handwriting where you can't just copy/paste?
Uhh, that one time in 2003 over Teamspeek, but it was really cool and really important, I promise! Definitely important enough to justify the horror that is NAT.
That's just their choice though, they could have used fd00::1 just fine ("f d 0 0 colon colon 1"). The advantage of selecting a complex prefix is to avoid collisions (something IPv4 doesn't do well, in any case), and they probably used 53 as 53 is the default DNS port so it's memorable.
There are libraries like ip6words to map IPv6 addresses to friendlier names. Of course, it may never be popular but definitely be useful in the scenarios this thread present.
Honestly, in 2018 Meta *allegedly* interfered in the other direction. It basically goes along with who the US President is. This discourse is just to stoke division and promote censorship and bigger government control.
It's a shame the technical discussion behind our voting machines has been completely ruined by political discussion. The paper trail bill is an objective improvement over the current system and unfortunately (why?) it has been denied.
Surprisingly there has been little to no partisanship in _this_ HN post's commentary. That's quite refreshing. I suppose you're talking about discussion in Brazil. But you know, a few years ago this thread would have been extremely partisan here in the U.S.
Officially, it's because of total horseshit reasons.
They said it was unconstitutional because it would "compromise the secrecy of the vote". It most certainly wouldn't: the paper would be deposited on a sealed ballot box that obscures the voting order, and the voter wouldn't be given a copy.
They also said it was unconstitutional because it couldn't be implemented in a timely manner. I barely have words to express how dumb that is.
The discussion is all about politics because these "official" reasons are obviously stupid and don't fly. We're trying to infer the real reasons why they resist the auditable system.
2022 elections exposed the supreme court judges as unabashedly partidarian and more than willing to violate the constitution to favor the left wing candidate Lula. There's also the fact that Lula never won an election back when Brazil used paper ballots, but dominated the country for nearly 20 years after the introduction of the voting machines.
More than enough to start raising some serious doubts about these so called "authorities".
Reminds me few months ago I asked it about a TV model specs, then later I was doing a UI for something, response was “I modified xyz and now should works perfectly with the HDR in your TV model!!”
Yeah I'm not sure what they are trying to argue with that defense. It's also clear that this is not the point that the plaintiffs are trying to make. We don't care if you call it a license or whatever, if we purchase something (like a digital movie), we should be able to at least maintain access to it for an indefinite amount of time. "oh but that's not feasible", that's not really my problem, you are the ones ditching physical
Damn, good for him, I guess, but what a bummer, I wonder how they'll enshittify the site. Also a reminder for everyone to disable or at least keep an eye out for updates on the extension. They say in the FAQ they won't change it, but i've been burned before by such promises
I also think there's no financial incentive from incumbents to develop something like this. Why would abbott develop something that works "forever" if they can milk people buying new sensors every 10~14 days.
There is a major IP holder in the space who is asserting their ownership, so even if they could solve the technical challenges, they might not be able to come to market.
Yes, yes, that's what I meant. The current glucose monitoring manufacturers don't have the incentive, we'll have to wait for someone to disrupt the market with something more permanent
Gotcha. Yeah, I misread your comment then. I thought you were suggesting that innovation here is stalled because the likes of abbott aren't incentivized to build it. My point was mostly that I don't think that's the case since there are other pretty large companies who would benefit from bringing a non-invasive monitor to market.
IDK that it's really possible to get accurate glucose measurements without at least a little bit of invasiveness. I don't even think the lifespan of the current CGMs are being artificially shortened. I do think they are overpriced. But my understanding of how they work (silver coating on the spike generates a voltage) it makes sense that they have a limited lifespan.
The telling part, to me, that they are overpriced is that finger stick glucose monitors come out to roughly the same cost per month because of test strips are really expensive. The fact the both manufacturers have identical pricing is also pretty suspicious.
The latest CGMs are definitely not cheap on the R&D side. The obvious implementation is really susceptible to interference from common drugs, which is a really expensive thing to fix. They're also trying to get wider adoption in the hospital which requires fixing similar issues with many different compounds. FDA is still quite tough on biocompatibility. They definitely are taking a good profit though.
I never thought about that and I find it might actually be the right way for a solution... I was just looking into the Google Play Store now: in Brazil apps need to have an age rating, facebook and instagram for example are 16+, but browsers like firefox, chrome, etc are rated for 'all ages', even though you can access the whole internet through them. If we actually did what you said and inverted the logic: restrict everything to 18+ and specifically mark what is allowed to under-18s it would make parental controls much more effective.
The same principle of "just one more lane, bro", can be applied to "just one more tax, bro". You give the burocracy more money and they will find new, inefficient ways to spend it between them and their cronies, until it is not enough, and a new tax has to be created.
What made me leave Kagi was the abysmal offer of widgets, plus the repeated assertion that they were working on them and at least until recently, no progress has been made. Brave search has maybe worse results and I miss the bangs to change result location, but at least during the world cup, for example, I used its widgets frequently, plus the financial, weather widgets... I wish they would actually go through with their promises with those
"One hundred one hundred one hundred one hundred"
or
"one hundred, 4 times"
vs.
"f d seven a colon one one five c colon a one e zero colon colon five three"
This is just a rant but IPv6 will never be widely adopted.
reply