v16.6.0
Enable redsocks dnsu2t
Support dnsu2t redsocks proxy config
Users may specify dnsu2t config by including a dns
field
in their PATCH body:
{
network: {
proxy: {
dns: '1.1.1.1:53'
},
hostname: 'balena'
}
}
If dns
is a string, IP and PORT are optional but should be in
the format [IP][:PORT] if present. For any fields that are empty,
a default IP and PORT (8.8.8.8:53
) will be configured.
dns
may also be a boolean. If true, defaults of 8.8.8.8:53
will be configured.
If false, the dns configuration will be removed.
If proxy
is patched to empty, dns
will be removed regardless of its
current or input configs, as dns
depends on an active redsocks
proxy to function.
Change-type: minor
Signed-off-by: Christina Ying Wang [email protected]
List of commits
186a412 (Add dnsu2t support to API docs for PATCH /v1/device/host-config, 2024-08-14)
eaa07e9 (Add support for redsocks dnsu2t config, 2024-08-14)
8bf346a (Parse dnsu2t block to dns config, 2024-08-14)
b775f8f (Stringify dns subsection of redsocks input config to dnsu2t, 2024-08-14)
e724f60 (Strip additional fields from HostConfiguration type, 2024-08-14)