The invention discloses a 3,5-disubsitutued 2-amino-pyrazine compound. The compound has the structure shown in the formula I; in the formula I, NR1R2 is n-propylamino, cyclopropylamino, cyclopentylamino, cyclohexylamino, morpholinyl, 4-methyl piperazine, anilino, 4-chloroaniline or 3-chloroaniline; Ar is 3,5-dimethyl-isoxazolyl-4 or 1-methyl-1H-pyrazolyl-4; and the invention further provides the preparation technology and application thereof. The compound has the outstanding inhibiting effect on growth of four kinds of cancer cells including a human cervical cancer cell HeLa, a human brain glioma cell U87, a human hepatoma cancer cell HepG2 and a human colon cancer cell LoVo, wherein a large part of the compound has an obviously higher inhibiting effect on proliferation of the cancer cellsthan positive control VX-680, particularly the compound Ih and Ii have relatively high activity on the four kinds of cancer cells, and have prominent activity inhibiting effect on aurora kinase A andaurora kinase B, and therefore the compound can be applied to preparation of anti-cancer drugs.