Forgot to include the /etc/hosts.d/ prefix.