fixed bug in domain resolution when no reverse dns available in build server. needs a refactor