summaryrefslogtreecommitdiff
path: root/home/xyz/.mozilla/firefox
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-03-17 02:03:24 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-03-17 04:51:40 -0700
commitf2b6dd341a86c7f9e5c5ea5336dcc522baca3fa6 (patch)
treef5b35ba8b1743fb13ec2ef50161bc28e8f164066 /home/xyz/.mozilla/firefox
parentbcd57d78c5a6b20f38af32b939424f283fd995dc (diff)
Final fix DNS resolv issues when using mullvad vpn default DNS
Fix can not resolve www.a.com, while a.com is `search a.com` in /run/NetworkManager/resolv.conf and /run/systemd/resolve/resolv.conf, I think `search a.com` is from router. Fix after suspend can not connect to internet due to mullvad and networkmanager fighting over /etc/resolv.conf and cause resolv.conf be empty. (not sure the cause is correct). This can also be fixed by symlink using systemd-resolved see below. I do not know why this fix work. I find this fix through trail and error. These changes in configs uses mullvad-vpn, openresolv, dnsmasq, avahi-daemon, and networkmanager. The features are dns cache (dnsmasq) and mdns (avahi-daemon). The best way to use systemd-resolved with dns cache is `sudo ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf`. But I can not find a way to fix the issue of not resolve www.a.com see above. I **guess** the most likely way for systemd-resolved to work is somehow config systemd-resolved to not get DNS from router.
Diffstat (limited to 'home/xyz/.mozilla/firefox')
0 files changed, 0 insertions, 0 deletions