This immunoregulatory effect of vitamin D can thus be beneficial to the host while facing a viral infection.