Dioxygenase that specifically demethylates DNA methylated on the 6th position of adenine (N(6)-methyladenosine) DNA (PubMed:25936839). N(6)-methyladenosine (m6A) DNA is involved in epigenetic transgenerational inheritance (PubMed:25936839). Plays an essential role in DNA replication and repair in the germline during meiosis (PubMed:31283754). Binds to components of the DNA replication machinery such as top-2, and directs their localization to DNA to control DNA replication (PubMed:31283754). 2-oxoglutarate + an N(6)-methyl-2'-deoxyadenosine in DNA + O2 = a 2'-deoxyadenosine in DNA + CO2 + formaldehyde + succinate Binds 1 Fe(2+) ion per subunit. Interacts with top-2; the interaction is required for localization of top-2 to DNA (PubMed:31283754). Also interacts with mtss-1, his-24, ule-3, C18B2.3, pgl-1, ceh-93, mcm-4 and F37C4.5 (PubMed:31283754). May co-localize with top-2 on DNA. Mutants lay fewer eggs. Belongs to the alkB family.