Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Note: the examples don't reflect later changes in this MR.
Simplified configuration of network/listen
.
ip-address: [127.0.0.1, ::1]
)@port
syntax can be used with ip-address and interface (e.g. ::1@5353
, eth0@5353
)Examples
network:
listen:
- unix-socket: /tmp/kresd-socket
- ip-address: 127.0.0.1
port: 5353
- ip-address: ["127.0.0.1@5353", "::1@5353"]
kind: dot
- ip-address: ["127.0.0.1", "::1"]
kind: dot
- interface: ["lo", "eth0"]
port: 5555
kind: doh2
- interface: ["lo@5555", "eth0@5656"]
kind: doh2
If port number is specified by port
option and @port
, the config is invalid.
network:
# this is all invalid
listen:
- ip-address: 127.0.0.1@5353
port: 5555
- ip-address: ["127.0.0.1@5353", "::1"] # invalid, @port must be specified for all values or for none
kind: dot
Closes #703 (closed)