This fixes the issues with zones starting with a number. The issue about dnssec-keymgr not exiting is a different issue: it depends on the operation system and/or version of Python. A separate ticket has been created to cover it (#46027). Resolving.