Activation of the aryl hydrocarbon receptor diminishes the memory response to homotypic influenza virus infection but does not impair host resistance.