Add tests for host entries resolved via /etc/hosts

These ensure we don't send out actual DNS queries for localhost and
ip6-localost.

Test: atest netd_integration_test
Change-Id: I918f2e870c4f50ad05f858e5d3c6cc225955d982
2 files changed