We found that DBD can effectively control inflammation and oxidative stress in E. coli-induced mastitis mice by regulating the TLR4/NF-κB and Nrf2/HO-1 signaling pathways, suggesting that DBD may be a very effective new method for the treatment of bovine mastitis. The gene discussed is NFKB1; the disease is Bovine mastitis.