Dns over HTTPS does not recognize private IP
Categories
(Core :: Networking: DNS, defect)
Tracking
()
People
(Reporter: maurorappa, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
Looks like the browser considers invalid doh dns request which resolve to a private addess
I setup my own DoH server and I have several test entries, FF is able to use to navigate everywhere (I see about:networking#dns all entries with TRR true) except pointing to an internal service (10.x.y.z)
Actual results:
if I try to resolve manually (about:networking#dnslookuptool) an entry which points to a 10.x.y.z address I get NS_ERROR_UNKNOWN_HOST.
Expected results:
If I use a cli tool (pip3 install doh-cli) I regularly get the private IP.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
This is intentional behaviour.
We have a pref if you want to use a private DoH server - Set network.trr.allow-rfc1918
to true
in about:networking.
Reporter | ||
Comment 3•4 years ago
|
||
True, it works ;)
Thanks.
Description
•