Added hostname lookup