If SUBSPACE_DISABLE_DNS is set to true, but a client uses nameservers in his local subnet (e.g. his IP address is 10.0.0.2, netmask /24, home gateway and caching DNS server - 10.0.0.1), he won't be able to reach it. It can be solved partially by adding all private subnets to an exclusion list:
but in some cases that local DNS server still will be unavailable (e.g. if kill-switch mode is enabled).
Changes
Now, if variable SUBSPACE_CLIENT_NAMESERVERS is set and contain a valid comma-separated list of DNS servers, this list will be included in a client config as is.
to: @subspacecommunity/subspace-maintainers
Background
If
SUBSPACE_DISABLE_DNS
is set totrue
, but a client uses nameservers in his local subnet (e.g. his IP address is10.0.0.2
, netmask/24
, home gateway and caching DNS server -10.0.0.1
), he won't be able to reach it. It can be solved partially by adding all private subnets to an exclusion list:but in some cases that local DNS server still will be unavailable (e.g. if kill-switch mode is enabled).
Changes
Now, if variable
SUBSPACE_CLIENT_NAMESERVERS
is set and contain a valid comma-separated list of DNS servers, this list will be included in a client config as is.Example: