platform_bionic/libc/netbsd/resolv
Robert Greenwalt a31ddef36d Change how DNS resolver handle no default iface
We used to just try any iface we'd been told about as a
fallback, but that will end up mistakenly using a secondary
network's dns when we really don't have a default connection.

It also messed up our detection of whether we were doing the
lookup on the default or not (we'd get back our secondary net
iface as the default, do the compare and think we were on default).

Remove the lies and let dns fail if we don't have an iface for it.

bug:10132565
Change-Id: I5f0f2abacaaaaf23c5292b20fba9d8dcb6fb10c5
2013-08-22 21:05:49 -07:00
..
__dn_comp.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__res_close.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__res_send.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
herror.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_cache.c Change how DNS resolver handle no default iface 2013-08-22 21:05:49 -07:00
res_comp.c Make the DNS resolver accept domain names with an underscore. 2009-07-27 19:19:29 +02:00
res_compat.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_data.c dns cache per interface iteration 2 2013-02-07 09:40:16 -08:00
res_debug.c Add some missing includes. 2011-03-21 20:01:03 -07:00
res_debug.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_init.c dns cache per interface iteration 2 2013-02-07 09:40:16 -08:00
res_mkquery.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_private.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_query.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_random.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
res_send.c am d8a9cccb: Merge "Fix all printf warnings in res_send.c." 2013-05-14 11:10:23 -07:00
res_state.c am 977a3313: Merge changes Iac00ce10,I192d3825 2013-06-17 18:21:37 -07:00