The STING agonist 5,6-dimethylxanthenone-4-acetic acid (DMXAA) stimulates an antiviral state and protects mice against herpes simplex virus-induced neurological disease.