refactor generateURNForNode for better msg in error case and also for maintainability.
Merge branch 'master' of github.com:da-nrw/DNSCore