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.
Probably we could introduce an option for this (predefined list of formats). But I would like to avoid arbitrary formats, as it should be reasonably fast to generate a response.
Full support for compressed IPv6 address format in the forward mode.
Removed leading zeros from IPv6 address blocks in the reverse mode.
Reasonable IPv6 address blocks compression in the reverse mode. The IDN restrictions are considered. So the first, second, and last zero address blocks are not compressed.
There is no configuration option for that. If works out-of-the-box.
In short: it looks very good. One tiny, tiny detail: it might be good to turn on/off compression of reverse dns lookups, as one might want to provide full names vs short names by default.
The advantage of full names is that the size is always the same, so it might be easier/of advantage to support them by default instead of short names.
In long:
I tested 3.0.dev.1578406399.c6853a45, directly checked out from git.
Running as follows:
[15:59] line:knot-dns% ./src/knotd -c ~/knottest/knot.conf -v -s ~/knottest/knot.sock2020-01-07T15:59:38 debug: module 'mod-cookies', loaded static2020-01-07T15:59:38 debug: module 'mod-dnsproxy', loaded static2020-01-07T15:59:38 debug: module 'mod-geoip', loaded static2020-01-07T15:59:38 debug: module 'mod-noudp', loaded static2020-01-07T15:59:38 debug: module 'mod-onlinesign', loaded static2020-01-07T15:59:38 debug: module 'mod-queryacl', loaded static2020-01-07T15:59:38 debug: module 'mod-rrl', loaded static2020-01-07T15:59:38 debug: module 'mod-stats', loaded static2020-01-07T15:59:38 debug: module 'mod-synthrecord', loaded static2020-01-07T15:59:38 debug: module 'mod-whoami', loaded static2020-01-07T15:59:38 info: Knot DNS 3.0.dev.1578406399.c6853a456 starting2020-01-07T15:59:38 info: loaded configuration file '/home/nico/knottest/knot.conf'2020-01-07T15:59:38 info: using reuseport for UDP2020-01-07T15:59:38 info: binding to interface ::@55552020-01-07T15:59:38 info: loading 2 zones2020-01-07T15:59:38 info: [ip6.arpa.] zone will be loaded2020-01-07T15:59:38 info: [has-a.name.] zone will be loaded2020-01-07T15:59:38 info: starting server2020-01-07T15:59:38 info: [has-a.name.] zone file parsed, serial 20190415012020-01-07T15:59:38 info: [has-a.name.] loaded, serial none -> 2019041501, 158 bytes2020-01-07T15:59:38 info: [ip6.arpa.] zone file parsed, serial 20190501052020-01-07T15:59:38 info: [ip6.arpa.] loaded, serial none -> 2019050105, 3876 bytes2020-01-07T15:59:38 info: server started in the foreground, PID 314192020-01-07T15:59:38 info: control, binding to '/home/nico/knottest/knot.sock'
What is especially well is that I can just take the IPv6 address of my notebook and replace : with - and it 'just works.
From my side: good to go and if you add a boolean flag "reverse-full: true|false" defaulting to false (because I'd assume that most people prefer shortened by default" at some point in the future: perfect!