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?
An outline of a proof, as a series of exercises:
Let $\alpha$ be a root of $f(X)$.
Note that this works for any $d$ that is not a perfect cube, which is slightly different from $d$ being cube-free.
The relationship between the irreducibility of $g(X)$ and the irreducibility of $g(X^3)$ is a special case of the Capelli Lemma and the Vahlen-Capelli irreducibility criterion; together they say (for this special case) that if $\gamma$ is a root of the irreducible polynomial $g(X)$, then $g(X^3)$ is also irreducible if and only if $\gamma$ is not a perfect cube in $\Bbb{Q}(\gamma)$.