There is no polynomial with integer coefficients that is able to take only prime values over $\mathbb{Z}$ or $\mathbb{N}$.
The reason is simple: if $p(x)\in\mathbb{Z}[x]$, $a-b$ is a divisor of $p(a)-p(b)$ for every $a\neq b$ (that obviously holds for monomials, hence it holds for polynomials, too). Moreover, a polynomial cannot take the same value in more points than its degree. Assuming that $p(1)$ is some prime $q$, then $q$ divides $p(kq+1)-p(1)$, hence $p(kq+1)$, for every $k\in\mathbb{Z}^+$. If $n$ is the degree of $p(x)$, it follows that at least a number among $p(q+1),p(2q+1),\ldots,p((2n+1)q+1)$ cannot be a prime.