You'd have to craft a new file and mount it onto your resolv.conf,
which makes it harder to "just add another line" because you don't
have the base.
But more than that, what you're asking for is really non-standard
behavior. You can't safely add a nameserver record to resolv.conf
that produces different results. The behavior of DNS resolvers varies
widely, and this will cause you pain eventually (kubernetes used to do
this, it was bad).
Consider this - some resolvers ask all DNS servers in parallel, and
take the first response. If one resolver can answer a query and
another can't (NXDOMAIN), your app will sometimes get an address and
will sometimes fail. This actually happens.
On Thu, Sep 21, 2017 at 6:33 AM, Simone D'Andreta