Dirac fermions and domain wall defects in 2 + 1 dimensions