Consequently, Nrf2 is a potential marker associated with mastitis resistance. Here, NFE2L2 is linked to mastitis.