bionic/libc/netbsd/resolv
Robert Greenwalt d67662b9d6 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

Conflicts:
	libc/netbsd/resolv/res_cache.c

Change-Id: I357a9c34dad83215f44c5e0dd41ce2a7d6fe8f3f
2013-08-23 11:48:26 -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-23 11:48:26 -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 Add marking of DNS sockets for mark based routing 2013-07-09 13:16:22 -07: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 Add marking of DNS sockets for mark based routing 2013-07-09 13:16:22 -07:00
res_state.c bionic: move system property writing from init to bionic 2013-06-17 12:44:34 -07:00