# systemd-resolve will not work in ubuntu 20.04 # u can use resolvectl with the falgs as systemd-resolve resolvectl status