Let $f(X) = X^4 - 10X^2 + 11 \in \mathbb Z[X]$ and let $\bar f(X) \in \mathbb Z_7[X]$ be the polynomial obtained from $f(X)$ by reduction modulo 7. By using the factorisation of $\bar f(X)$ or otherwise, show that $f(X)$ is irreducible in $\mathbb Z[X]$.
What I have done so far is to factorise $\bar f(X)$ as a product of monic irreducible polynomials in $\mathbb Z_7[X]$, getting that $\bar f(X) = (X^2 + \bar 2)^2$.
What I am struggling with is how to use this to show that $f(X)$ is irreducible in $\mathbb Z[X]$.
My idea is to show this by contradiction, assuming that $f(X)$ is reducible in $\mathbb Z[X]$, but I'm unsure where to go from there.
$f$ is irreducible in $\Bbb Q[X]$, because $f(X+1)=X^4+4X^3-4X^2-16X+2$ is Eisenstein with $p=2$.
Also, $f$ is irreducible modulo $3$ (but not modulo $7$), and hence irreducible in $\Bbb Z[X]$ and $\Bbb Q[X]$.