On 2/9/23 15:57, Greg Wooledge wrote:
On Thu, Feb 09, 2023 at 03:47:37PM -0500, gene heskett wrote:
you refuse to answer the question asked. from that machine to any other
machine on my net "ssh -Y othermachines' alias as shown in the hosts file..
response was not found. Ditto for a ping unless I gave ping the actual ipv4
address.
ping and ssh are both dynamically linked against libc6 on Debian, and
have been for a very long time. They should therefore be using the libc6
resolver code. They should be following the DOCUMENTED rules for name
resolution, beginning with nsswitch.conf.
If you believe you've found a bug in the libc6 name resolver, that
would be a very important bug to get fixed. Therefore, it would be
extremely helpful if you could describe how to reproduce your results.
We need ALL the details. Every single piece of the puzzle, please.
I have showno that on my Debian 11 system, without any of your
/etc/host.conf style configuration in /etc/resolv.conf, everything works
as I expect, and as the documentation describes.
You have not shown anything similar on your computer, which is (so far
as we're aware) the ONLY Debian computer in the whole world having this
problem.
.
Maybe I am the last on the planet still using hosts files, but I doubt
that as I know of a business with a block of 16 addresses still using
hosts files. Has for nearly 30 years as we were the first tv station in
the country to setup a web page, letting folks dial it up and read the
news about 5 minutes after it aired. On a dialup circuit with an amiga
2000. So I am not new to this networking thing.
I also think it would be foolhardy to publish all that on a public list.
nuff said. I also think its a waste of resources to run a dns server on
everything here, when a perfectly functional dns is 22 milliseconds away
at my isp. /etc/nsswitch.conf has 10 active lines. probably unmodified
since the bullseye install. And none of it makes any sense to me. There
is absolutely nothing in any of the man pages that could actually be
used to fix a problem. My way Just Works provided avahi is rm'd.
Security by obscurity is not an answer. Rewrite the man pages to
explain exactly what is going on if you want to teach us how to fix our
own problems. What works for me make sense, which is a hell of a lot
more than I can say for the man pages on this stuff. And with that, I'm
out of here.
Take care and stay well Greg.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>