I want to show that only discrete valuation rings with quotient field as $k(x)$ containing $k$ are: $\mathcal{O_{a} (\mathbb{A^{1}})}$ for each $a \in k$ and $\mathcal{O_{\infty}}$; the former is the set of rational functions on $\mathbb{A^{1}}$ (affine 1-space, that is field $k$ here) that are defined at $a \in k$, it is a discrete valuation ring with uniformizing parameter $x-a$ and the latter is the ring $$ \left\{\frac{F}{G} \in k(x) \mid \deg(G) \geq \deg(F) \right\} $$ with $\frac{1}{x}$ as its uniformizing parameter.
My idea was to first observe that if $S$ is any DVR, then it cannot be clearly field of quotients $k(x)$, since in the book (Fulton, Algebraic Curves) we have not defined them as fields. So, $S\subset k(x)$.
It will contain the ring $k[x]$. Now I will use a previous exercise that says that "If $R$ is a DVR with quotient field $K$ and $m$ as its maximal ideal then for $z\in K, z \notin R$, we must have $z^{-1} \in m$." and another that says that
"Further if $R\subset S\subset K$ and $S $ is also a DVR, and the maximal ideal of $S$ contains $m$ then $S =R$."
But I don't know how I can start.
Any hint would be appreciated, thanks!