3 ms·
"But still, on most of the local systems, we don't have a DNS server and we have to remember the IP addresses of the systems." Perhaps I'm misunderstanding thi
by ac29 6y ago
"But still, on most of the local systems, we don't have a DNS server and we have to remember the IP addresses of the systems."
Perhaps I'm misunderstanding this, but why would your systems not have access to a local DNS server? My routers respond just fine to DNS queries for "hostname.local"-like requests without using something like mDNS.
- rlpb 6y agoThis only works if your router arranges this through its DHCP server, and even then only if everything on your network uses DHCP and the DNS server supplied by it. This is not widely the case, and with devices that roam across wifi networks it's likely not even true for your devices. mDNS provides peer-to-peer discovery that does not require any supporting network infrastructure.
- ac29 6y agoThere's no reason this requires DHCP, or even for the DNS server to be on the router. You could assign static IPs everywhere and still have the DNS server perform lookups to its hosts file.
- rlpb 6y agoYes, of course. I took it as a given that any alternative solution would have to be automatic and so manual configuration of hosts wasn't an option. If you think it is an option, then the answer to your question is obvious: mDNS does it automatically, so you don't have to maintain the mapping and it works for automatic IP address assignments.