netbird/client/internal/dns
Viktor Liu 17b1099032
Enhance DNS failover reliability (#1637)
* Fix using wrong array index in log to avoid potential panic

* Increase gRPC connection timeout and add the timeout resolv.conf option

This makes sure the dns client is able to failover to a second
configured nameserver, if present. That is the case then when using the
dns `file` manager and a resolv.conf file generated for netbird.

* On file backup restore, remove the first NS if it's the netbird NS

* Bump dns mangager discovery message from debug to info to ease debugging
2024-03-01 15:17:35 +01:00
..
dbus_linux.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
file_linux_test.go Support disabled resolved stub server mode (#1493) 2024-01-24 16:47:26 +01:00
file_linux.go Enhance DNS failover reliability (#1637) 2024-03-01 15:17:35 +01:00
file_parser_linux_test.go Enhance DNS failover reliability (#1637) 2024-03-01 15:17:35 +01:00
file_parser_linux.go Enhance DNS failover reliability (#1637) 2024-03-01 15:17:35 +01:00
file_repair_linux_test.go Fix/resolv parser (#1520) 2024-02-02 17:54:33 +01:00
file_repair_linux.go Fix/resolv parser (#1520) 2024-02-02 17:54:33 +01:00
host_android.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host_darwin.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host_ios.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host_linux.go Enhance DNS failover reliability (#1637) 2024-03-01 15:17:35 +01:00
host_windows.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
host.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
local_test.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
local.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
mock_server.go Validate upstream reachability on first DNS configuration (#1489) 2024-01-23 17:23:12 +01:00
mock_test.go Fix nameserver peer conn check (#676) 2023-02-13 18:25:11 +04:00
network_manager_linux.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
notifier.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
resolvconf_linux.go Enhance DNS failover reliability (#1637) 2024-03-01 15:17:35 +01:00
response_writer_test.go Feat fake dns address (#902) 2023-06-08 13:46:57 +04:00
response_writer.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_android.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_darwin.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_export_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
server_export.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
server_ios.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
server_linux.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
server_test.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00
server_windows.go Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
server.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
service_listener.go Update port, ip choice logic in DNS service (#1514) 2024-02-02 17:53:55 +01:00
service_memory_test.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
service_memory.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
service.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
systemd_linux.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_android.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_darwin.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_ios.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_linux.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
unclean_shutdown_windows.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
upstream_ios.go Make sure the iOS dialer does not get overwritten (#1585) 2024-02-16 14:37:47 +01:00
upstream_nonios.go Fix iOS DNS timeout (#1504) 2024-01-29 17:10:47 +01:00
upstream_test.go Fix iOS DNS timeout (#1504) 2024-01-29 17:10:47 +01:00
upstream.go Restore dns on unclean shutdown (#1494) 2024-01-30 09:58:56 +01:00
wgiface_windows.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00
wgiface.go Extend netbird status command to include health information (#1471) 2024-01-22 12:20:24 +01:00