You are not logged in.

#1 2021-08-02 07:15:34

shams
Member
Registered: 2020-08-08
Posts: 22

No entry for name server in resolv.conf after last update of arch?

After last update of arch dns resolver stop working, gnome NetworkManager cannot write name servers to /etc/resolv.conf , when i ping google.com get the error:

# ping google.com
ping: google.com: Temporary failure in name resolution

There is  no entry in /etc/resolv.conf for the dns servers and there is no file with name  resolv.conf in /run/NetworkManager, my laptop is behind wireless router and the name server is 192.168.1.1, when i manually add the name server 192.168.1.1 to /etc/resolv.conf the dns resolver start working, i know about resolvconf and how to configure it, but i would prefer to use the arch default packages, the systemd-resolved.service is disabled by default, can any one tell me which program is responsible for generating and updating /etc/resolv.conf entries by default in arch, and how to configure it?

Last edited by shams (2021-08-02 07:17:11)

Offline

#2 2021-08-02 07:36:54

seth
Member
Registered: 2012-09-03
Posts: 60,943

Re: No entry for name server in resolv.conf after last update of arch?

https://wiki.archlinux.org/title/Networ … management

prefer to use the arch default packages … by default in arch

Such thing does not exist and networkmanager is not a "default", but itself defaults to systemd-resolved

Offline

#3 2021-08-02 08:04:24

shams
Member
Registered: 2020-08-08
Posts: 22

Re: No entry for name server in resolv.conf after last update of arch?

The openresolv  is installed by default and i configure it, the problem is solved.

Offline

#4 2021-08-02 11:55:20

seth
Member
Registered: 2012-09-03
Posts: 60,943

Re: No entry for name server in resolv.conf after last update of arch?

openresolv  is installed by default

Nope. It's a hard dependency for netctl and optional for eg. networkmanager and dhcpcd. It's not installed "by default" at all and not a dependency of the base package.

However, please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB