plutov / ultrafocus

CLI tool to block distracting websites and boost productivity.
MIT License
123 stars 7 forks source link

Find a solution without using /etc/hosts #2

Open plutov opened 2 months ago

plutov commented 2 months ago

/etc/hosts work well for now, but they require sudo. Probably there is a way to block list of domains using a firewall.

ats1999 commented 1 month ago

The simple solution is to keep the mind in control. Yoga can really help in that matter.

ccoVeille commented 1 month ago

/etc/hosts work well for now, but they require sudo. Probably there is a way to block list of domains using a firewall.

A DNS over HTTPS might be a solution, but then it requires to update the browser conf.

Another could be solution like dnsmask, but the service start/stop might require a sudo.

plutov commented 3 weeks ago

@ccoVeille it already requires a sudo to edit /etc/hosts so it's fine.