ubuntu@lp1832672-b:~$ dpkg -l systemd|grep ii
ii systemd 237-3ubuntu10.31 amd64 system and service manager
ubuntu@lp1832672-b:~$ grep bar /etc/hosts
127.0.2.1 foo # bar
ubuntu@lp1832672-b:~$ systemd-resolve -4 bar
bar: 127.0.2.1
-- Information acquired via protocol DNS in 1.5ms.
-- Data is authenticated: yes
ubuntu@lp1832672-b:~$ dpkg -l systemd|grep ii
ii systemd 237-3ubuntu10.32 amd64 system and service manager
ubuntu@lp1832672-b:~$ grep bar /etc/hosts
127.0.2.1 foo # bar
ubuntu@lp1832672-b:~$ systemd-resolve -4 bar
bar: resolve call failed: 'bar' not found
ubuntu@ lp1832672- b:~$ dpkg -l systemd|grep ii lp1832672- b:~$ grep bar /etc/hosts lp1832672- b:~$ systemd-resolve -4 bar
ii systemd 237-3ubuntu10.31 amd64 system and service manager
ubuntu@
127.0.2.1 foo # bar
ubuntu@
bar: 127.0.2.1
-- Information acquired via protocol DNS in 1.5ms.
-- Data is authenticated: yes
ubuntu@ lp1832672- b:~$ dpkg -l systemd|grep ii lp1832672- b:~$ grep bar /etc/hosts lp1832672- b:~$ systemd-resolve -4 bar
ii systemd 237-3ubuntu10.32 amd64 system and service manager
ubuntu@
127.0.2.1 foo # bar
ubuntu@
bar: resolve call failed: 'bar' not found