add dns info in config