updating the configs with dns flag