summaryrefslogtreecommitdiff
path: root/server/InterfaceControllerTest.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2018-05-30 16:14:18 +0900
committerLorenzo Colitti <lorenzo@google.com>2018-05-30 16:18:42 +0900
commit95f1bcb0034ef9394d1ab0095177ed75ae7c7202 (patch)
treebad91a73f83ce18afa2aae5a3e006c08f9943143 /server/InterfaceControllerTest.cpp
parentde3594fd1b2573e9aca5f4318e50cc65085a7745 (diff)
Set the explicit bit on DNS queries when it is safe to do so.
Generally, it is not safe to set the explicit bit on DNS queries due to the presence of (split tunnel) VPNs. However, the vast majority of DNS queries occur without a VPN, and in these cases it is safe to set the explicit bit. Setting the explicit bit on DNS queries allows us to use upstream DNS servers even in the case that we have a route to them in the local_network table. This is the case, for example, when tethering an Android device to a hotspot created by another Android device. Bug: 70673901 Test: marlin builds, boots Test: netd_{unit,integration}_test pass Change-Id: Ic24e3df9ca47b54256f012aee0facfcd410ce541
Diffstat (limited to 'server/InterfaceControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions