Test gethostbyname() with numeric addresses

Add some test coveragefor things like gethostbyname("192.168.0.1") or
gethostbyname2("fe80::1", AF_INET6). Nobody should be calling these, but
we also don't want to break legacy code still using these.

Test: atest netd_integration_test
Change-Id: Ia975fd06b5a8156278a94aa83afb2bc3c39fbb17
1 file changed