Fix DNS on upgrade