Verified for Bionic:
ubuntu@bionic:~$ dpkg -l | grep systemd ii systemd 237-3ubuntu10.23 amd64 system and service manager
ubuntu@bionic:~$ systemd-resolve --flush-caches
ubuntu@bionic:~$ dig +noall +answer github.com CNAME
ubuntu@bionic:~$ dig +noall +answer github.com A github.com. 18 IN A 140.82.118.4
Verified for Bionic:
ubuntu@bionic:~$ dpkg -l | grep systemd
ii systemd 237-3ubuntu10.23 amd64 system and service manager
ubuntu@bionic:~$ systemd-resolve --flush-caches
ubuntu@bionic:~$ dig +noall +answer github.com CNAME
ubuntu@bionic:~$ dig +noall +answer github.com A
github.com. 18 IN A 140.82.118.4