Fix dns state