On 06/03/2023 10:06, Michael wrote:
On Monday, 6 March 2023 08:24:35 GMT Wols Lists wrote:
On 06/03/2023 08:08, Neil Bothwick wrote:
On Mon, 6 Mar 2023 07:54:51 +0000, Wols Lists wrote:
There's another file - can't remember its name - that tells your
resolver what to try in what order - the hosts file, dns, what dhcp
told you, etc etc, so your resolver might not be using dns the way you
think.

Do you mean /etc/nsswitch.conf?

Ah yes. Any idea why Firefox seems to ignore it? Whenever I try to
browse to local machines in /etc/hosts, firefox gives me a google search
page which is a bloody nuisance. If I type a VALID ADDRESS in the
ADDRESS BAR, that's where I expect to go! Not some damn random search page!

Cheers,
Wol

I suspect the behaviour you noticed is related to FF functionality like TRR
(Trusted Recursive Resolver) farming all your DNS queries over to the
cloudfarce honeypot.

Have a look here if you want to disable it:

https://wiki.archlinux.org/title/Firefox/Privacy#Disable/
enforce_'Trusted_Recursive_Resolver'

Thanks. That led me to network.trr.allow-rfc1918, which provided your name has a dot in it ! appears to resolve addresses from /etc/hosts. I guess that actually means firefox uses your local resolver first, and if it returns an rfc1918 address, will use it.

Surely that should be the default! It shouldn't break a PRIVATE network in the name of security !!!

Cheers,
Wol

Reply via email to