Here's what I've tried:
I've checked that there's exactly one real root for this polynomial (that's easy to prove i.e. there's at least one real root since it has odd degree and it is easy to show that the derivative is always $\geq 0$). I've noticed that if $g(X) = X^3 - 2dX^2 + 3d^2 X - d^3$, then $f(X) = g(X^3)$. Also, $g(X)$ is irreducible over $\mathbb{Q}$ if and only if $h(X) = d^3 g(X/d)$ is irreducible over $\mathbb{Q}$, but $h(X) = X^3 - 2X^2 + 3X - 1$ has no rational root and, hence, is not reducible. I was trying to conclude the problem by saying that if $g(X)$ is irreducible over $\mathbb{Q}$, then $g(X^3)$ is also irreducible over $\mathbb{Q}$, but I'm not sure if this is true. Can someone help me conclude this problem?