Use AI_ADDRCONFIG for most DNS requests

Not using it doubles the number of DNS lookups for single-stack
networks.
Private DNS hostname resolution still does not use this flag so that we
get all address families in advance, in case of LinkProperties changes.
Bug: b/79811321
Test: manual: Captive portal, 464xlat, networking in apps working

Change-Id: Ib46756e5e5f8d8d2698c90c5183c368d2d44be7a
2 files changed