Catalyses DNA-template-directed extension of the 3′- end of a DNA strand by one nucleotide at a time. Cannot initiate a chain de novo. Requires a primer, which may be DNA or RNA. See also EC 2.7.7.49 RNA-directed DNA polymerase.