Catalysis of the hydrolysis of ester linkages within deoxyribonucleic acid by creating internal breaks.