Hey,can someone help me with my network management a little? I’m on manjaro kde.
I was trying to setup dns and meessed up so I can’t connect to internet anymore(in browser dns address couldn’t be found and in terminal when I try nslookup a domain it says no server could be reached).
What I did was I deleted my resolv.conf and resolvconf.conf file and setup /etc/systemd/resolved.conf file.There I setup the dns ip and fallbackdns and changed the dnsovertls to yes since the dns server(libredns) has this support. Then I enabled systemd-resolved.service and rebooted.Now my internet connection isn’t working anymore.
After that I created a new file /etc/resolvconf.conf and inputted the ip of nameserver there but that didn’t fix anything. I tried to edit the /etc/resolv.conf but it says it’s managed by systemd-resolved and asked not to edit.
So I created a new directory : /etc/systemd/resolved.conf.d
and a config file dns_servers.conf
with these lines [Resolve] DNS=116.202.176.126 127.0.0.1 ::1 Domains=~. DNSOverTLS=yes
After that I restarted Networkmanager.
But it’s still not working.
Yes, but if you add 127.0.0.1, you are informing systemd-resolved that there is a DNS server (with TLS capabilities, as you enabled it) in the local machine. If that is true, then you can leave the address, if not you should remove it.
I removed that it’s still not working.
from the resolvectl status output I noticed that the dns server is diifferent for the global and wifi(mobile hotspot). Is that the reason for this problem?
So didn’t find any solutions.Disabled systemd-resolved and manually set the nameservers in \etc\resolv.conf and in \etc\resolvconf.conf.
I couldn’t achieve DNSoverTLS but atleast my internet is working now.