Manager breaks if network interface name contains a hyphen
One of my network interfaces is named mtg-dns
. If I put it into the declarative config like this:
network:
listen:
- interface: mtg-dns
- interface: mtg-dns
kind: dot
- interface: mtg-dns
kind: doh2
kresd fails to start, logging this error:
kresd0[7036]: [system] error while loading config: kresd0.conf:137: attempt to perform arithmetic on field 'mtg' (a nil value) (workdir '/run/knot-resolver')
I am running kresd 6.0.4 from Fedora COPR on Oracle Linux 9.