After reading the documentation I see that double quotes and not single quotes are needed when special characters are in use.
'If an item value contains spaces or other special characters, it is necessary to enclose such value within double quotes " “.'
https://www.knot-dns.cz/docs/2.5/singlehtml/index.html#description
It would be nice if `knotc conf-check` emitted a warning if special characters where not double quoted, and therefore not valid YAML.
Thanks John
On Sep 26, 2017, at 5:36 PM, knot@johnbond.org wrote:
Hello all,
I have come across an incompatibility with /usr/lib/knot/get_kaspdb and knot in relation to IPv6. Knot expects unquoted ip addresses however the kaspdb tool uses the python yams library which requires valid yams and therefore needs IPv6 addresses to be quoted strings as the contain ‘:’. This incompatibility causes issues when updating knot as the ubuntu packages from 'http://ppa.launchpad.net/cz.nic-labs/knot-dns/ubuntu’ call get_kaspdb during installation. The below gist shows how to recreate this issue. Please let me know if you need any further information
https://gist.github.com/b4ldr/bd549b4cf63a7d564299497be3ef868d
Thanks John
_______________________________________________
knot-dns-users mailing list
knot-dns-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
_______________________________________________
knot-dns-users mailing list
knot-dns-users@lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users