update dns config file