We show that DAF-19 concerts with ATF-7, a member of the activating transcription factor (ATF)/cAMP response element-binding B (CREB) family of transcription factors, to upregulate tph-1 in the ADF chemosensory neurons and antimicrobial genes in the intestine in response to bacterial infection, reminiscent of RFX-CREB interaction in human immune cells. The gene discussed is CREB1; the disease is bacterial infectious disease.