When DNS settings change, apply them immediately without forcing user to restart

<----Please try to adhere to this template when reporting bugs and delete this top section between and including the arrows when posting! ---->

Description of the issue:

Please respect my local DNS settings.

Steps to Reproduce (add as many as necessary):

  1. open brave for ubuntu
  2. run https://github.com/viccherubini/get-shit-done with work time mode. /etc/hosts is rewritten to put a lot of unproductive sites to 127.0.0.1
  3. brave seems to cache the dns to these sites, and forces me to restart brave to get up to date dns.

Actual Result (gifs and screenshots are welcome!):

Expected result:

  1. Brave would detect my local dns settings have changed and allow them to immediately take effect, without a restart.

Reproduces how often:
all the time.

please also see https://github.com/brave/browser-laptop/issues/3750

Brave Version(about:brave):
Version 0.59.35 Chromium: 72.0.3626.81 (Official Build) (64-bit)

Reproducible on current live release (yes/no):
yes

Additional Information:
I’m trying to be more productive. Help me out!

In fact, I have reproduced this where.

  1. change local dns settings
  2. run sudo /etc/init.d/dns-clean restart
  3. killall brave
  4. open brave
  5. dns still seems cached and even though say reddit.com resolves to 127.0.0.1 with the host command, brave loads it without issue.

why brave?

you’re making it harder to be productive!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.