This paper considers the disturbance decoupling problems, with or without internal stability and pole placement, via dynamic output feedback using polynomial and rational matrix techniques. We show that in all three problems considered, the central solvability condition can be expressed as a two-sided matching problem

, where

, and

are the polynomial system matrices of certain natural subsystems of the system model and

is to be determined over various subrings of the rational functions. This matching problem can in turn be reduced to certain appropriate zero-cancellation conditions on the polynomial system matrices

, and

.