Therefore, GED goats with IRS‐targeted integrations into the LYZ promoter region were successfully obtained for the subsequent analysis of mastitis resistance. The gene discussed is LYZ; the disease is mastitis.