[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repeat of previous question that has gone unansweredseveraltimes.



On 5/9/23 07:12, Greg Wooledge wrote:
On Tue, May 09, 2023 at 04:06:14AM -0400, gene heskett wrote:
I think you have said resolv.conf Search directive doesn't work but
nsswitch.conf was mentioned and there is a diff between this machine and one
of the arms. So what do I put in nsswitch.conf to make cups search the hosts
file first?

The bare minimum would be:

hosts:      files dns

Mine contains this:

hosts:          files mdns4_minimal [NOTFOUND=return] dns
and my bpi54 is:
hosts:          files mymachines dns myhostname

The "search" directive in /etc/resolv.conf is followed by a space-separated
list of domain names.  Yours should say:

search coyote.den
aha! again: was:
nameserver 192.168.71.1
search hosts,nameserver
Which is not space separated, thank you, I've got it fixed in 2 places now. I think.
.

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/>


Reply to: