The equations you are asking for are not uniquely determined. You can use any two planes which are not parallel and contain the given line to get an equation of that line by taking the intersection of the planes, which just amounts to asking that both equations are simultaneously fulfilled.
As you already noted, one way to get there is to determine two (non-parallel) normal vectors, $n_1, n_2$, say, to the given line and then write down the equations for the planes normal to these vectors and passing through a given point of the line (e.g., $p$). You can use the Hesse normal form for this. If, for example, $n_1 = (v_1, v_2, v_3),$ $||n_1||=1$ and $\langle p,n_1 \rangle = d_1$ is the signed distance from the position vector $p$ to the origin projected onto $n_1$, then the first plane is given by
$$ v_1 x + v_2 y + v_3 z = d_1$$
similarly for the second normal, giving you the second equation. This will work as long as you take two linear independent normals to the given line. It does not matter wich one.
There are other ways to get to such equations, as well, it's just geometry.