This is the N-terminal domain of DNA methylase (Pfam:PF00145). Family members include Modification methylase EcoRII (EC:2.1.1.37) and DNA-cytosine methyltransferase.