Despite modifying my hosts file, the DNS address for hosts is still displayed when using the host command. For instance:
$ grep -E "hosts|ipnodes" /etc/nsswitch.conf
hosts: files dns mymachines myhostname
$ grep google.com /etc/hosts
2401:db00:25ff:c83:: google.com