I have a router that has DHCP and assigns IP and DNS servers
The DNS server assigned are
192.168.50.4 192.168.50.2 fe80::dea6:32ff:fe25:41d2
192.168.50.4 pi-hole
192.168.50.2 Bind DNS recursive
fe80::dea6:32ff:fe25:41d2 pi-hole
The pi-hole server uses 192.168.50.2 as its DNS name resolution
resolvectl returns this
Global
Protocols: -LLMNR -mDNS -DNSOverTLS
DNSSEC=allow-downgrade/supported
resolv.conf mode: stub
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 9.9.9.9#dns.quad9.net
8.8.8.8#dns.google
2606:4700:4700::1111#cloudflare-dns.com
2620:fe::9#dns.quad9.net
2001:4860:4860::8888#dns.google
Link 2 (end0)
Current Scopes: DNS
Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS
DNSSEC=allow-downgrade/supported
Current DNS Server: fe80::dea6:32ff:fe25:41d2
DNS Servers: 192.168.50.4 192.168.50.2 fe80::dea6:32ff:fe25:41d2
Default Route: yes
Link 3 (wlan0)
Current Scopes: none
Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS
DNSSEC=allow-downgrade/supported
Default Route: no
The following for end0 wired connection
Current DNS Server: fe80::dea6:32ff:fe25:41d2
changes or cycles through the three DNS servers, changing about every 5
minutes or upon browsing the web with firefox ( firefox is set to use my
DNS servers)
Is that how resolved really works?
I was under the impression that once the "Current DNS Server" was set it
would stay that way unless the "Current DNS Server" failed.
I there a setting other than /etc/systemd/resolved.conf ?
[Resolve]
DNS=192.168.50.4 fe80::dea6:32ff:fe25:41d2
Domains=~.
I would really like to have it assigned by the router instead of at each
client.
--
Hindi madali ang maging ako