worker: refactor copypasta, cleanup
This just replaces repetitive code, adds a typecheck for dname conversion function.
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.
This just replaces repetitive code, adds a typecheck for dname conversion function.