make DC to a static class. hostname returns only the first part.