On Wed 26 Jan 2022 at 15:31:46 (+0000), Brian wrote: > On Tue 25 Jan 2022 at 18:35:54 -0600, David Wright wrote: > > On Tue 25 Jan 2022 at 09:31:57 (+0100), Andrei POPESCU wrote: > > > On Lu, 24 ian 22, 23:54:41, Brian wrote: > > > > > > > > Resolving hostnames on the local network is simple and reliable when > > > > avahi-daemon and linnss-mdns are available. > > > > > > > > brian@desktop:~$ getent hosts envy4500.local > > > > 192.168.7.235 envy4500.local > > > > > > > > Continually and nanually maintain /etc/hosts? Not in 2022! > > > > More like biannually :-) > > > > It's just pointless here, on such a static network. If I'm going to > > login to the router to add a MAC, then editing and distributing my > > master list is trivial. Last change: 2021-02-04, when I got hold of > > a redundant computer. > > I am sure sue the use of the dawn of time /etc/hosts is a workabble > solution. However many (most?) users will have libnns-mdns installed > and immediately up to the job of resolving hostnames on a statically > or dynamically configured network and is maintenance-free. Why not use > it?
Me personally? Because I want to avoid any complications with configuring two cooperating routers; because I want to be able to spot "foreign" interfaces by IP# (my brain doesn't work with either UUIDs or MACs); because I want to be able to poke a hole into my network, which raises security concerns; because I want to recognise that two IP#s point to the same machine (MACs again); because knowing how it all works is more valuable to me than the effort of lifting a finger to maintain it once in a while. Bear in mind that I'm likely installing Debian on something at the time I'm making said tweak, and perhaps having to relocate some functionailty to another machine if there's one heading for recycling at the same time. With running the d-i and configuring the router, what's to get worked up about with adding a line to /etc/hosts? I've worked this way for 15 years and, unlike Gene, I'm not having to fight any battles over it. I'm sure mDNS is perfect for people with different demands from mine. Cheers, David.