I'm running OMV 6.4.6 on baremetal. Since the last upgrade I noticed that the system doesn't resolve my local DNS records anymore.
The system is set up with DHCP and it receives two nameservers: 10.11.12.77, 10.11.12.1 - first one is the Pi-hole I run, second one is the router which forwards the requests to my ISP's DNS. I have set up some local hosts in the Pi-hole and it worked like a charm until a week ago. Also, I notice this happens only on the OMV machine.
Checking /etc/resolv.conf, it points correctly to /run/systemd/resolve/stub-resolv.conf, but running resolvectl I see it point to the router's IP address as default nameserver:
Code
# resolvectl
Global
Protocols: +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: uplink
Link 2 (enp3s0)
Current Scopes: DNS LLMNR/IPv4
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 10.11.12.1
DNS Servers: 10.11.12.77 10.11.12.1
What can I do to have .77 as default DNS always?