Let
$$I=\int_{0}^{\infty}{1\over x^4+x^2+1}dx\tag1$$ $$J=\int_{0}^{\infty}{1\over x^8+x^4+1}dx\tag2$$
Prove that $I=J={\pi \over 2\sqrt3}$
Sub: $x=\tan{u}\rightarrow dx=\sec^2{u}du$
$x=\infty \rightarrow u={\pi\over 2}$, $x=0\rightarrow u=0$
Rewrite $(1)$ as
$$I=\int_{0}^{\infty}{1\over (1+x^2)^2-x^2}dx$$ then
$$\int_{0}^{\pi/2}{\sec^2{u}\over \sec^4{u}-\tan^2{u}}du\tag3$$
Simplified to
$$I=\int_{0}^{\pi/2}{1\over \sec^2{u}-\sin^2{u}}du\tag4$$
Then to
$$I=2\int_{0}^{\pi/2}{1+\cos{2u}\over (2+\sin{2u})(2-\sin{2u})}du\tag5$$
Any hints on what to do next?
Re-edit (Hint from Marco)
$${1\over x^8+x^4+1}={1\over 2}\left({x^2+1\over x^4+x^2+1}-{x^2-1\over x^4-x^2+1}\right)$$
$$M=\int_{0}^{\infty}{x^2+1\over x^4+x^2+1}dx=\int_{0}^{\infty}{x^2\over x^4+x^2+1}dx+\int_{0}^{\infty}{1\over x^4+x^2+1}dx={\pi\over \sqrt3}$$
$$N=\int_{0}^{\infty}{x^2-1\over x^4-x^2+1}dx=0$$
$$J=\int_{0}^{\infty}{1\over x^8+x^4+1}dx={1\over 2}\left({\pi\over \sqrt3}-0\right)={\pi\over 2\sqrt3}.$$
$\newcommand{\angles}[1]{\left\langle\,{#1}\,\right\rangle} \newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace} \newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack} \newcommand{\dd}{\mathrm{d}} \newcommand{\ds}[1]{\displaystyle{#1}} \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,} \newcommand{\half}{{1 \over 2}} \newcommand{\ic}{\mathrm{i}} \newcommand{\iff}{\Leftrightarrow} \newcommand{\imp}{\Longrightarrow} \newcommand{\ol}[1]{\overline{#1}} \newcommand{\pars}[1]{\left(\,{#1}\,\right)} \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,} \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}} \newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$
Note that $\ds{x^{8} + x^{4} + 1 = \pars{x^{4} + x^{2} + 1}\pars{x^{4} - x^{2} + 1}}$ such that \begin{align} I - J & = \int_{0}^{\infty}{x^{4} - x^{2} \over x^{8} + x^{4} + 1}\,\dd x\ \stackrel{x\ \to\ 1/x}{=}\ \int_{\infty}^{0}{1/x^{4} - 1/x^{2} \over 1/x^{8} + 1/x^{4} + 1} \,{\dd x \over -x^{2}} = \int_{0}^{\infty}{x^{2} - x^{4} \over x^{8} + x^{4} + 1}\,\dd x \\[3mm] & = J - I\quad\imp\quad \fbox{$\ds{\quad\color{#f00}{I} = \color{#f00}{J}\quad}$} \end{align}
The problem is reduced to evaluate $\ds{\underline{just\ one}}$ of the above integrals: For example, $\ds{\color{#f00}{I}}$. \begin{align} \color{#f00}{I} & = \int_{0}^{\infty}{\dd x \over x^{4} + x^{2} + 1}\ \stackrel{x\ \to\ 1/x}{=}\ \int_{0}^{\infty}{\dd x \over 1/x^{2} + 1 + x^{2}} = \int_{0}^{\infty}{\dd x \over \pars{x - 1/x}^{2} + 3}\tag{1} \\[3mm] & \mbox{Similarly,} \\[3mm] \color{#f00}{I} & = \int_{0}^{\infty}{\dd x \over x^{4} + x^{2} + 1} = \int_{0}^{\infty}{1 \over x^{2} + 1 + 1/x^{2}}\,{\dd x \over x^{2}} = \int_{0}^{\infty}{1 \over \pars{x - 1/x}^{2} + 3} \,\dd\pars{-\,{ 1\over x}}\tag{2} \end{align}
With $\pars{1}$ and $\pars{2}$: \begin{align} \color{#f00}{I} & = \color{#f00}{J} = \half\int_{x = 0}^{x \to \infty}{1 \over \pars{x - 1/x}^{2} + 3} \,\dd\pars{x - {1 \over x}}\ \stackrel{\pars{x - 1/x}\ \to x}{=}\ \half\int_{-\infty}^{\infty}{\dd x \over x^{2} + 3} \\[3mm] \stackrel{x/\root{3}\ \to\ x}{=}\ &\ {1 \over \root{3}}\ \underbrace{\int_{0}^{\infty}{\dd x \over x^{2} + 1}}_{\ds{=\ {\pi \over 2}}}\ =\ \color{#f00}{\pi \over 2\root{3}} \end{align}