IL-17A and IL-17F evolved to protect against infection via the regulation of protective responses against infections at mucosal and epithelial surfaces, including the intestines, skin, lungs, and oral cavity. Here, IL17F is linked to infection.