Mail archive

Re: [alpine-user] Support request - Force DNS requests to go over TCP

From: Paul Bredbury <>
Date: Sat, 13 Apr 2019 10:40:39 +0100

For any non-trivial DNS, I recommend to use Unbound.

If you really need TCP, it has an option:

tcp-upstream: <yes or no>
Enable or disable whether the upstream queries use TCP only for transport. Default is no. Useful in tunneling scenarios.

On Fri, 2019-04-12 at 14:00 +0100, Richard Tweed wrote:
> I've run into a situation where I need DNS resolution to always be over TCP rather than UDP due to AWS dropping DNS packets frequently enough to be a problem. On glibc based environments I can use
> the use-vc option in the resolv.conf file.
> On Alpine this doesn't seem to be supported and I would love to hear any suggestions about achieving this behaviour.

Received on Sat Apr 13 2019 - 10:40:39 UTC