Our results implicate the Nrf2/IL-17D axis as a sensor of viral infection and suggest therapeutic benefit in boosting this pathway to promote innate antiviral responses. Here, IL17D is linked to viral infectious disease.