Hello,
I’ve run into an unexpected issue that seems so simple to solve yet I have been unable to find a solution.
ping localhost
fails with “ping: unknown host localhost” whenever the ethernet cable is unplugged.
the loopback is up: ping 127.0.0.1
succeeds.
Something about bringing eth0 up starts a dns server that is otherwise inactive.
Has anyone ran into this and aware of a solution or work-around?
Unfortunately I’m tied to an old version of debian, 7.9 and can’t upgrade due to legacy drivers that also rely on localhost rather than 127.0.0.1 for some socket connections.
I have tweaked the configuration of /etc/hosts and /etc/resolv.conf to no avail, and tried static, manual, and hotplug variants of the interfaces, but this has not helped either.
Thanks,
JeffC