Record DNS search domains as well as nameservers.

We accidentally removed this in the big connectivity monitor fix.

Updates tailscale/tailscale#10107

Signed-off-by: David Anderson <danderson@tailscale.com>
oxtoacart/gomobilepoc
David Anderson 10 months ago committed by Dave Anderson
parent 4c7d66701f
commit 3255d55e39

@ -115,6 +115,12 @@ public class App extends Application {
for (InetAddress ip : dnsList) {
sb.append(ip.getHostAddress()).append(" ");
}
String searchDomains = linkProperties.getDomains();
if (searchDomains != null) {
sb.append("\n");
sb.append(searchDomains);
}
dns.updateDNSFromNetwork(sb.toString());
onDnsConfigChanged();
}

Loading…
Cancel
Save