add dns and has a Segmenttion fault:11?