On Sat, 14 Jan 2023 20:39:49 +0100
lejeczek via users wrote:

> I wonder now, if it is possible, nowadays, to "bypass" 
> systemd's resolver - except if a separate DNS server is ran 
> locally.

Just disable (and mask for belt and suspenders) systemd-resolved.
Then edit /etc/NetworkManager/NetworkManager.conf and add
dns=none after the "[main]" section, then you can remove the
/etc/resolv.conf symlink and replace it with a real file
you can point to your real server and network manager and
systemd will leave you alone :-).

I do that, plus run dnsmasq as a local dns server for my lan
which picks up all the names from /etc/hosts so everyone
on the local network can talk (as long as my main server is up,
anyway :-). Of course, I also have to tell the DHCP on my
router to inform everyone to point to my local server for DNS.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-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/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to