However, under mastitis conditions, LYZ expression was increased by IRS, thereby reducing the severity of mastitis and showing robust anti‐mastitis capabilities. This evidence concerns the gene LYZ and mastitis.