On Sat, Mar 01, 2025 at 22:55:06 -0500, gene heskett wrote:

> > > > On Sat, Mar 01, 2025 at 15:43:39 -0500, gene heskett wrote:
> > > > > Chromium has hijacked port 80 for google's exclusive use, bypassing 
> > > > > totally
> > > > > my /etc/hosts file for my local network.

[Turn off DNS over HTTP.]

> it still disabled after turning that off, Greg.  Only works if I use the
> ipv4 address of that 3d printer.  Noticeably a hell of a lot faster than
> firefox-esr which is why I liked it in the first place.  Is there something
> else I should turn on?

At this point, we need the full details.

 * What version of Debian?
 * What version of Chromium?
 * What is the EXACT thing you are typing into the URL bar?
 * After you press Enter, what does Chromium rewrite the URL bar to (i.e.
   what do you see without clicking on it)?
 * Triple-click the rewritten URL bar, and then paste it.
 * What results do you see in the browser?

And some additional background details:

 * grep hosts /etc/nsswitch.conf
 * ls -ld /etc/resolv.conf
 * cat /etc/resolv.conf

And for whatever local name $NAME you're putting into the URL bar:

 * getent hosts $NAME
 * grep $NAME /etc/hosts


I'm not using Chromium, but I'll start by showing what I get in Google
Chrome:

hobbit:~$ cat /etc/debian_version 
12.9

hobbit:~$ dpkg -l google-chrome-stable | tail -n1
ii  google-chrome-stable 133.0.6943.141-1 amd64        The web browser from 
Google

What I type into the URL bar: http://hobbit

After pressing Enter, it says: hobbit/

After triple-clicking, it pastes as: http://hobbit/

What I see in the browser:
=========================================================
This site can’t be reached
hobbit refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
=========================================================

hobbit:~$ grep hosts /etc/nsswitch.conf 
hosts:          files dns

hobbit:~$ ls -ld /etc/resolv.conf
-rw-r--r-- 1 root root 84 Feb  9 09:04 /etc/resolv.conf

hobbit:~$ cat /etc/resolv.conf
# Generated by resolvconf
domain home
search wooledge.org home
nameserver 127.0.0.1

hobbit:~$ getent hosts hobbit
127.0.1.1       hobbit.wooledge.org hobbit

hobbit:~$ grep hobbit /etc/hosts
127.0.1.1       hobbit.wooledge.org     hobbit

Reply via email to