Dynamic control of interferon signaling and gene regulation and its role in regulating the immune response