ud-generate: Add performance optimization by resolving IP adresses for hosts