3 ms·
> It needs to ask the system name resolution interface to resolve a name for it, and then run with what it is given Despite me agreeing with your need for host
by cmroanirgo 7y ago
> It needs to ask the system name resolution interface to resolve a name for it, and then run with what it is given
Despite me agreeing with your need for hosts to work, your suggestion here wont. As the others have mentioned the hosts integration is down way down deep in the code (libc and kernell.dll as far as I know) and is basically an automated part of getting the address of a name, which does a proper DNS lookup automatically (if not found in hosts), meaning DoH wont get a chance.
This means that FFox will need to independantly look up and parse the hosts file as part of it's DoH lookup, basically mimicking what libc is doing on 'nix boxes. It's what the other GPs are mentioning as a no-go/non-starter, whereas I suggest it's not hard to parse a text file.