fix dns config first