Hello I seem to be having a similar issue, i tried the above fixes but i get an out put of
┌──(root㉿highrider187)-[~/Desktop/THM]
└─# dpkg-reconfigure resolved.conf
dpkg-query: package 'resolved.conf' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to...