resolvectl status
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
DNS Servers: 192.168.0.189
Fallback DNS Servers: 192.168.0.1
DNS Domain: ims.mnc001.mcc001.3gppnetwork.org
Link 2 (enp0s3)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
try restarting the server to confirm if the entries in resolved.conf are persistent or not.
Edit file
/etc/dhcp/dhclient.conf
edit file
/etc/systemd/resolved.conf
restart resolved
check resolved status
try restarting the server to confirm if the entries in resolved.conf are persistent or not.
after restart check
Enjoy ;)