mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-25 16:31:05 +00:00
eaa07e97a9
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> |
||
---|---|---|
.. | ||
docker-states | ||
etc | ||
mnt/boot | ||
ports/not-ascending | ||
resin-data | ||
root | ||
sys/class/net | ||
apps-pin.json | ||
apps.json | ||
boot0.img | ||
device-api-responses.json | ||
testconfig-apibinder-offline2.json | ||
testconfig-apibinder-offline.json | ||
testconfig-apibinder.json | ||
testconfig.json |