Opera ignores system DNS and fetches from cloudflare
-
whatever1111111 last edited by
I have edited my hosts file and set a website to point at 127.0.0.1, I have cleared my DNS caches and opera://net-internals/#dns lookup validates that that website points to 127.0.0.1.
Those websites are blocked (redirected to be exact - connection refused) on Edge, Vivaldi as those browsers obey system DNS. I have visited that website before in Opera, meaning there is some cache somewhere and somehow it still opens even when domain is set to 127.0.0.1, it's loaded from a cloudflare server as it seems from network monitor.
I have deleted browser wide website data for all sites from settings but it is not helping. I kept the cookies as I need my logins and session kept.
My queston is how to make Opera to clear or flush it's DNS cache, as Clear host cache button on opera://net-internals/#dns does not change the situation and lookup of domain already hints that ip from hosts file is used.
Please mind the question asked, there is no need to reply with suggestion to use some kind of extension or question my way of doing things through hosts file.
-
leocg Moderator Volunteer last edited by
@whatever1111111 First basic thing to check is if DOH isn't enable by chance.
-
leocg Moderator Volunteer last edited by
@whatever1111111 Does it work on Chrome/Chromium? There is an async dns feature in Chromium that may explain the behavior.
-
whatever1111111 last edited by
In opera://flags/ I disabled Async DNS resolver. Opera can still open the website. On Vivaldi or Edge, which are both based on chromium, site can’t be reached.
The domain which you can use to test and reproduce this is ohtuleht.ee. Visit it with Opera, then edit hosts file. Clear DNS cache of operating system and Opera browser. Still opens with Opera.
-
leocg Moderator Volunteer last edited by
@whatever1111111 Even changing the hosts file, I was able to access the page both in Opera and Chrome Developer.