Which DNS server are you trying to use? I see bind(bind - Domain Name System (DNS) Server (named)) in the OSS repo. And I assume that the yast2-dns-serverworks on that. But it is unclear if you installed those and try to use them.
@jjis ,
What you show (specialy #7) is about the DNS client configuration. And you specify there which DNS server(s) should be used. But The OP talks about setting up his/her own DNS server. And that is not done with NetworkManager at all.
Super simple if @HenrikLjungberg doesn’t wish to call up the authoritative nameservers.
From my notes:
# Setup encrypted DNS:
zypper in dnscrypt-proxy
nano /etc/dnscrypt-proxy/dnscrypt-proxy.toml
server_names = ['cloudflare-security']
systemctl enable --now dnscrypt-proxy.socket
systemctl enable --now dnscrypt-proxy.service
ss -tulpn | grep dns
dig a opensuse.org @127.0.0.1
# In NetworkManager config / Gnome Network settings > use 127.0.0.1 as DNS for each connection.
What I would like to achieve is having my own DNS-server running on my Firewall (OpenSUSE Leap 15.6) that serves as the primary DNS for my internal hosts and forwards questions about everything else onto public server like 8.8.8.8 or 1.1.1.1.
How do I configure this, shouldn’t I use Yast and the option:
Network Services - DNS Server to do this?
Use NetworkManager configuration dialog to define the DNS (because you’re using NetworkManager, not wicked). You can find DNS setings on the IPV4 and IPV6 tabs.
I’m unfamiliar with what “forwards questions” … means … what are “questions”??
If you really want to get into network settings details, you could switch (from NetworkManager) to wicked.