The genome-wide regulation through PMK-1– ATF-7 signaling reveals a striking level of control over the innate immune response to infection through a single transcriptional regulator. Here, ATF7 is linked to infection.