Added hostname lookup for ping