I've been having problems with DNS resolution in F33 as well: I use F5 VPN (work requirement).

I tried your nsswitch recipe, but got some errors:

   authselect apply-changes
   [error] [/etc/nsswitch.conf] is not a symbolic link!
   [error] [/etc/nsswitch.conf] was not created by authselect!
   [error] Unexpected changes to the configuration were detected.
   [error] Refusing to activate profile unless those changes are
   removed or overwrite is requested.
   Some unexpected changes to the configuration were detected. Use
   'select' command instead.

and the DNS still returns 'Name or service not known'

I've been successfully fixing my problem by running explicit

   sudo resolvectl dns eno1 <my.DNS.server.ip>

   sudo resolvectl domain eno1 <my.domain>


As to the issues with F5, I see that it rewrites /etc/hosts

#F5 Networks Inc. :File modified by VPN process
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

12.34.56.78 f5.server.mycompany.com

BTW, why isn't RPM seeing that change?

rpm -qf /etc/hosts
setup-2.13.7-2.fc33.noarch

rpm -q --verify setup
.M.......  c /etc/fstab
S.5....T.  c /etc/printcap
.M....G..  g /var/log/lastlog


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to