improve private hostname resolution