Catalyzes the dephosphorylation of the nucleoside 5'-monophosphates deoxyadenosine monophosphate (dAMP), deoxycytidine monophosphate (dCMP), deoxyguanosine monophosphate (dGMP) and deoxythymidine monophosphate (dTMP). a 2'-deoxyribonucleoside 5'-phosphate + H2O = a 2'-deoxyribonucleoside + phosphate Binds 2 divalent metal cations (By similarity). Shows activity with Mn(2+), Co(2+) and Mg(2+) but shows no activity with Zn(2+) (PubMed:29752939). kcat is 1.2 sec(-1) with dGMP as substrate. kcat is 1.1 sec(-1) with dTMP as substrate. kcat is 1.0 sec(-1) with dAMP as substrate. kcat is 0.28 sec(-1) with dCMP as substrate. Homodimer. Present with 1500 molecules/cell in log phase SD medium. Belongs to the HDDC2 family.