Bug: 131055651 Test: atest DnsResolverTest (cherry picked from commit f6726c2c) Change-Id: I69ad9428ddfb70437e47ef4740930a97aece69d9