On Sun, Jan 19, 2025 at 12:53:20PM +0000, mick.crane wrote:
> On 2025-01-19 12:01, to...@tuxteam.de wrote:

[...]

> OK. I can ping the PC with roundcube on it by name but "host
> <name-of-pc-with-roundcube-on-it>" fails to resolve.

Aha. This means that your roundcube (whatever name it has, you
didn't tell us yet :) is probably in your /etc/hosts: "ping", as
most civilised programs do, goes through the resolver [0]: if
other stars align [1], this first goes through /etc/hosts). But
"host" goes directly to whatever DNS is boss in your box.

Most probably you'll want to set up a forwarding DNS on your
pfsense and use that.
 
> I need to go through everything for the 4th time ( -> home -> local -> home
> ) and change the domain to .home.arpa .
> I'll do that before anything else.
> mick

That won't help. You'll have to convince things to look into hosts
first. If you go through your browser, there's still the possibility
that it's doing DoH (DNS over HTTP), then it'll ignore everything
you do locally and go ask your friendly surveillance capitalist
(Chrome, I'm looking at you).

Of course, following that recommendation won't hurt either, but this
is definitely not your problem.

[0] This is part of the libc and (roughly) translates host names to
   IP addresses for the programs running in your box. Eventually,
   it goes out to ask some DNS servers.
[1] Some of those stars live in /etc/nsswitch.conf. Mine has, among
   others:

   hosts:          files mdns4_minimal [NOTFOUND=return] dns

   meaning that to resolve a host, you first look into /etc/hosts
   (that's the "files"), then mdns (gotta remove that, no mdns here),
   then DNS.

Attachment: signature.asc
Description: PGP signature

Reply via email to