Skip to content

nameserver checks handling rework

Vladimír Beneš requested to merge vb/nameserver_rework into master

We can see various defaults with NetworkManager and dns resolvers. RHEL8 and older Fedoras (32 and older) all use glibc's resolver which is using /etc/resolv.conf file.

In Fedora 33 the default is set to systemd-resolvd and glibc resolver is communicating with it on localhost. Thus a link from /etc/resolv.conf to /run/systemd/resolve/stub-resolv.conf.

We can use resolvectl binary to see per device configurations. Some options are not valid for resolved so these tests are marked @not_with_systemd_resolved these that do need resolved are marked @dns_systemd_resolved

Nameserver checks are now handled in different step which can handle both resolved/glibc resolvers and can handle domains as well as Nameservers.

We have some bugs revealed:

https://bugzilla.redhat.com/show_bug.cgi?id=1887882

https://bugzilla.redhat.com/show_bug.cgi?id=1888229

Edited by Vladimír Beneš

Merge request reports