balena-supervisor/test/data/mnt/boot
Christina Ying Wang eaa07e97a9 Add support for redsocks dnsu2t config
Users may specify dnsu2t config by including a `dns` field
in the `proxy` section of PATCH /v1/device/host-config's body:
```
{
  network: {
    proxy: {
      dns: '1.1.1.1:53',
    }
  }
}
```

If `dns` is a string, ADDRESS and PORT are required and should be
in the format `ADDRESS:PORT`. The endpoint with error with
code 400 if either ADDRESS or PORT are missing.

`dns` may also be a boolean. If true, defaults 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 <christina@balena.io>
2024-08-28 14:01:51 -07:00
..
extlinux Add support for extlinux configuration files 2018-06-05 17:00:45 +01:00
system-proxy Add support for redsocks dnsu2t config 2024-08-28 14:01:51 -07:00
config.txt typos: seperate -> separate 2021-03-17 14:27:53 -04:00
device-type.json Added test case for /v1/restart API 2020-11-30 15:42:49 -05:00