2 ms·
> I can do a rough inventory of my IPv4 home network (120 devices) by looking at hostnames for DHCPv4 leases, no such thing exists for IPv6. I can do the same
by ninkendo 3y ago
> I can do a rough inventory of my IPv4 home network (120 devices) by looking at hostnames for DHCPv4 leases, no such thing exists for IPv6.
I can do the same thing with mDNS, there’s no need to run a stateful DHCP server.
avahi-browse -at
Done.
- cyberax 3y agoSigh. No. mDNS is not mandatory (e.g. my TrippLite UPS management card doesn't support it), and it requires active device participation. If a device is busy or slow to respond, you'll miss it. DHCPv4 leases are authoritative, and they don't require device participation for discovery.
- ninkendo 3y agoSending hostnames isn’t required for DHCPv4 either. If we want to talk about ill-behaved clients, I don’t see why you can count this as a negative for mDNS but not stateful DHCP.
- cyberax 3y agoIn practice, hostnames are sent by most clients, because it requires pretty much zero effort from the device. mDNS requires a complicated service that needs to be always on.