fix extra dns calls