搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox browser force search

more options

I created a few virtual hosts and sites on my local machine and this is working perfectly.

Problem is with Firefox, when I enter non-existant url in address bar, Firefox force me to search and don't let me to open the url, but I need to go to this url for testing, developing, etc...

Any solution?

I created a few virtual hosts and sites on my local machine and this is working perfectly. Problem is with Firefox, when I enter non-existant url in address bar, Firefox force me to search and don't let me to open the url, but I need to go to this url for testing, developing, etc... Any solution?

被選擇的解決方法

jscher2000 - Support Volunteer said

You say non-existent -- from Firefox's perspective -- but they do exist as local DNS entries on your system? And I assume not in a hosts file? By default, Firefox prefers DNS over HTTPS, but can fall back to a local lookup. If your DNS service is dishonest about not having the address, it may divert you to a "search" page of paid links. As a starting point, you could disable DNS over HTTPS and see whether that makes any difference in Firefox's ability to resolve your local addresses: Firefox DNS over HTTPS.

Thanks for the reply.

Actually, domain I am using exist in hosts file. Domain is working and some pages are working, but there is a few links that I just can't open. I type on purpose wrong page at domain, firefox force me to search, and don't open the link as expected.

Thanks for the link https://support.mozilla.org/en-US/kb/firefox-dns-over-https

Firefox DNS-over-HTTPS is not what I used, but I used "Excluding specific domains" part and excluded domain I am using localy, now everything is working and I can finally use Firefox to continue working on my app.

Thank you a lot!

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

You say non-existent -- from Firefox's perspective -- but they do exist as local DNS entries on your system? And I assume not in a hosts file?

By default, Firefox prefers DNS over HTTPS, but can fall back to a local lookup. If your DNS service is dishonest about not having the address, it may divert you to a "search" page of paid links.

As a starting point, you could disable DNS over HTTPS and see whether that makes any difference in Firefox's ability to resolve your local addresses: Firefox DNS over HTTPS.

more options

選擇的解決方法

jscher2000 - Support Volunteer said

You say non-existent -- from Firefox's perspective -- but they do exist as local DNS entries on your system? And I assume not in a hosts file? By default, Firefox prefers DNS over HTTPS, but can fall back to a local lookup. If your DNS service is dishonest about not having the address, it may divert you to a "search" page of paid links. As a starting point, you could disable DNS over HTTPS and see whether that makes any difference in Firefox's ability to resolve your local addresses: Firefox DNS over HTTPS.

Thanks for the reply.

Actually, domain I am using exist in hosts file. Domain is working and some pages are working, but there is a few links that I just can't open. I type on purpose wrong page at domain, firefox force me to search, and don't open the link as expected.

Thanks for the link https://support.mozilla.org/en-US/kb/firefox-dns-over-https

Firefox DNS-over-HTTPS is not what I used, but I used "Excluding specific domains" part and excluded domain I am using localy, now everything is working and I can finally use Firefox to continue working on my app.

Thank you a lot!

more options

Thank you for reporting back.