Catalysis of the endonucleolytic cleavage of DNA to 3'-phosphodinucleotide and 3'-phosphooligonucleotide end products.