You are not logged in.

#1 2021-07-07 09:32:11

ZulluBalti
Member
Registered: 2021-04-07
Posts: 92

DNS issue

Hi,

I installed ProtonVPN But I couldn't connect to the internet. Therefore I delete it using

sudo pacman -Rns protonvpn-gui

but now my dns settings are messed up. I can ping 8.8.8.8 But I can't ping google.com

Here's the output of my /etc/resolv.conf

nameserver :::1

If I change it to

nameserver 8.8.8.8

Everything works properly but when I reboot/on-off the computer the resolv.conf file changes back to

nameserver :::1

Anyway to fix it?

Offline

#2 2021-07-08 00:37:11

virtualperson72
Member
Registered: 2019-09-17
Posts: 8

Re: DNS issue

My guess is that systemd-resolved got updated and is adjusting your /etc/resolv.conf.

Start with https://wiki.archlinux.org/title/Systemd-resolved - go through the various settings and files they mention and see if any are resetting you to :::1.


Arch | AMD Ryzen 5 1400 | AMD Radeon RX 480 | 8 GBytes RAM | XFCE | Zen Kernel

Offline

#3 2021-07-08 12:55:39

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: DNS issue

looks like a lot can be done in querying DNS using resolvectl  https://www.freedesktop.org/software/sy … vectl.html

i found  via command : resolvectl status  //that mine wasn't enabled

so i enabled it:  sudo systemctl enable systemd-resolved.service

after enabling

resolvectl status                                                                                   (07-08 13:57)
Global
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: foreign
         DNS Servers: 192.168.0.1
Fallback DNS Servers: 1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
          DNS Domain: wifi

Last edited by captain_sensible (2021-07-08 13:08:21)

Offline

Board footer

Powered by FluxBB