MEDIUM: server: add a global setting "unresolvable-server-fqdn"
Recent fix
612b87e75 ("BUG/MEDIUM: resolvers: reject too long labels
when encoding a name") revealed deployment bugs where users are relying
on DNS labels longer than 63 chars, which have obviously never worked.
The problem is that before they would fail silently and now the config
refuses to start. When configs are orchestrated, often users have long
lost any control on what happens and only have to endure what their
orchestrator decides for them, so it can take ages before they figure
how to fix that.
This patch adds a global option to detect the situation at server
registration time, and to emit a warning and force the server to
maintenance instead of hard-failing. It is only meant to be used as a
workaround for the time it takes to fix the configuration, and must
never be left enabled since it will silently let broken configs start.
It will help to backport this patch where the commit above was backported,
i.e. 2.6, with a change to warn by default and indicating that this will
change in 3.5.