We demonstrate that GPR109A plays an important role in anti-mastitis. The gene discussed is HCAR2; the disease is mastitis.