Potential and field due to electric dipole
For $|\v x|\gg|\v d|$, the electric potential and field due to the dipole is $$ \begin{align*} \Phi(\v x) &= \frac{\v p\cdot \v x}{4\pi\epsilon_0 |\v x|^3} &&= \frac{p\cos\theta}{4\pi\epsilon_0 r^2}, \\ \v E(\v r) &= \frac{3(\v p\cdot \v x)\v x - |\v x|^2 \v p}{4πε_0 |\v x|^5} &&= \frac{p\cos\theta}{2\pi\epsilon_0 r^3}\vhat r + \frac{p\sin\theta}{4\pi\epsilon_0 r^3}\vhat\theta \end{align*} $$ where $\theta$ is the angle between $\v x$ and $\v p$. (Derivation) Note that $\Phi\propto 1/r^2, E\propto 1/r^3$.
Therefore on axis ($\theta = 0$), $$ \begin{align*} E(r) &= \frac{p}{2\pi\epsilon_0 r^3} \text{ parallel to axis} \end{align*} $$ and off axis ($\theta = \pi/2$), $$ \begin{align*} E(r) &= \frac{p}{4\pi\epsilon_0 r^3} \text{ anti-parallel to axis}. \end{align*} $$
A point dipole $\v p$ at the origin correspond to $$ \begin{align*} ρ(\v x) = -\v p\cdot ∇δ(\v x) \end{align*} $$ so by linearity of Poisson's equation, $$ \begin{align*} Φ(\v x) = -\v p\cdot ∇\left(\frac{1}{4πε_0 |\v x|}\right). \end{align*} $$