I have a Pi-hole running at home but my Fedora KDE does not work blocking under Firefox and other browsers also local DNS records do not work.
I tried to set it in the browser but that didn’t work and I also tried to do it via the connection settings and in the router I pointed the DNS server to the PI-hole.
can anyone help me?
Check the output:
resolvectl --no-pager status
wenn I run it:
when i execute the command i get this back:
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (enp2s0f0)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (wlp3s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 172.16.149.1
DNS Servers: 172.16.149.1
Link 4 (wg_config(1))
Current Scopes: DNS
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.178.75
DNS Servers: 192.168.178.75 192.168.178.1
DNS Domain: XXX.XXX
Is that the DNS you want to use?
yes, 172.16.149.1 is the one
resolvectl --no-pager query example.org
nslookup example.org 172.16.149.1
Does this work?
oh, sorry my mistake 192.168.178.75 is the one,
nslookup intranet.de 192.168.178.75
Server: 192.168.178.75
Address: 192.168.178.75#53
Name: XXX.XX
Address: 192.168.178.75
it seems to work
but the other one don’t work
resolvectl --no-pager query XXX.XX
XXX.XX: 64.190.63.222 -- link: wlp3s0
-- Information acquired via protocol DNS in 42.7ms.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network
Edit your connection settings, disable automatic DNS, specify the DNS you want to use, and reconnect to apply the changes.