With Monte Carlo simulations, we investigate the relaxation dynamics with a domain wall for magnetic systems at the critical temperature. The dynamic scaling behavior is carefully analyzed, and a dynamic roughening process is observed. For comparison, similar analysis is applied to the relaxation dynamics with a free or disordered surface.