On Tue, Jan 21, 2025 at 10:44:22AM +0000, mick.crane wrote:
> On 2025-01-21 08:41, to...@tuxteam.de wrote:
> <snipped>
> >  - is the host name you use internally for your Roundcube in
> >   that URL? Or something else? I guess it's the first
> >  - if yes: what happens if you ping that host name from exactly
> >   the same box your browser runs in?
> > 
> > If the ping complains that it can't resolve the name, the problem
> > is in your resolver setup. If it can, I'd look for the DoH (DNS-
> > over-http) settings of your browser.
> > 
> > Cheers
> 
> Not quite sure what is meant by that. The link is
> http://rapunzel.home/roundcubemail
> Are you supposed to be able to ping a service?

No -- but the host, rapunzel.home. Sorry for having been unclear.

My intention is that ping does two things: first, resolve the host
name to an IP address, then check connectivity by sending IP packets
and listening to the answers.

If ping can resolve rapunzel.home, but the browser is not, then it's
the browser you'll have to have a stern word with...

> 
> mick@courgette:~$ ping http://rapunzel.home/roundcubemail
> ping: http://rapunzel.home/roundcubemail: Name or service not known
> mick@courgette:~$ ping http://rapunzel.home
> ping: http://rapunzel.home: Name or service not known
> mick@courgette:~$ ping rapunzel.home
> PING rapunzel.home (10.0.0.2) 56(84) bytes of data.
> 64 bytes from rapunzel.home (10.0.0.2): icmp_seq=1 ttl=64 time=0.130 ms

... which is actually the case.

> I know it's probably a mess. I stopped reading when it worked.
> mick

It's not a mess. It's the browser (which actually is worse than a mess.
I'm still in search of polite words which would be adequate).

Most probably it's doing DNS-over-HTTP, thus bypassing your resolver
settings. I think here [1] they explain how to disable that. At the
same time they'll tell you that it's the best thing since sliced bread,
steeped as they are in ad industry's groupthink. Rubbing salt in the
wound -- surveillance capitalism is petty like that.

Cheer
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to