refine dns resolve for paas/cdn