Discussions
ctrld.toml file related question - representation of OS DNS
7 months ago by Sun
i see in documentation that if we need to refer to OS default, we need to use syntax like below:
{'network.0' = []}
questions:
my setup is a ctrld container on mikrotik router.
a) how do we add failover(if OS dns fails) for the above 'network.0' to a different upstream when you have empty brackets? how do we add a comma and place next upstream value to it?is there a special syntax?
b) can you define an upstream with type as 'os'? also is there a difference in type as 'os' and 'legacy' in terms of its working?
[upstream.2]
name = 'OS default'
type = 'os'
endpoint = '10.10.10.1' <gateway in the container network that in turn refers to router DNS from ISP )
timeout = 3000