fix issue when DNS resolves fluctuate