The external field problem for QCD