Hacker News new | ask | show | jobs
by vsskanth 2161 days ago
Can someone please help me with how to achieve the same thing on windows that works on any browser ? I tried some DNS blocking programs and can't get anything to work properly.
8 comments

You can install NextDNS and use their blacklist feature to block distracting websites.
Seconded. This works really well.
I know someone who had the same problem and didn't want to pay for one of the subscription apps so he built his own [0]. Looked great from the demo he showed me but I don't have Windows so I haven't tried it personally.

[0] https://lazarfocused.com/

I've been using this for years, both to block sites and to setup local dev servers: https://hostsfileeditor.com/ - its free and open source.
Can't you do the same by modifying c:\Windows\System32\Drivers\etc\hosts ?
I tried this and it doesn't seem to work on https
Are you using Firefox with DNS-over-https?
Didn't work on Firefox, chrome or edge. I haven't enabled DNS over https specifically, just stock install
Firefox at least has DNS over https enabled by default.
Back when I was forced to work on windows I'd add rules to the default windows firewall. E.g. to block twitter I'd add a rule to drop all outbound packets to 104.244.40.0/21.
I'm a user of Rescue time, which has a subscription component.

Definitely a fan of the service, works for me to help me get in a flow state and worth the few bucks they ask for.

I liked ColdTurkey software back when I was using Windows.
Didn't work. I don't know if I'm doing something wrong