X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by lists.alpinelinux.org (Postfix) with ESMTP id 63DE9F84CEB for ; Mon, 15 Apr 2019 09:46:36 +0000 (UTC) Received: by mail-pf1-f177.google.com with SMTP id b3so8326981pfd.1 for ; Mon, 15 Apr 2019 02:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thoughtmachine.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jfeUL/ABUTvZmjXhfyeSXXcz4K95p7TXN9HFRsDOodM=; b=JK9IZ6b2JV3ySlulDj9lAwYFF78i3ZefQuMRXLMezhlhWML32hAwR8Az2sdfxVWOVN pZPuUxtcugPWBMccWis4861x+GUrzo3T0onU1Fla9Rhc6mR1R0n43ipP3w1+lW9f8gh7 YyJlPUguL6KmXI4diSQ4lsF4IPmva+DwcDOHc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jfeUL/ABUTvZmjXhfyeSXXcz4K95p7TXN9HFRsDOodM=; b=gvuGxpXkOPBuJKL1sKZ/VDwShWw8Hkv7XuGpgoewY0P29lyeW5h4WgO2G6nmhkr0Gh jqZzvHdT5hOEno44kaD2WKj0x9jAvWw5Oz8ugQv/mle44U4JYFDPzHzjZmGJKr8SbgAH iov25Qo+ulIAbzE1TKb2OQ1ahAqmQug7B3g8199mTzFdNcwBMUV12/YOuRceCW2MwceH lltFG5x/dx4M2NaBkZ5L3pEstjIYkxK4VbOtiD77jDd/O+ByUiAYSLpJf72FdBh0S1ha 6/yjzjiAXUa0mt0YfA+qToeYy4bkvEqLe3og9y/Diw+W8ovL8BY+0JKdCgB1tC5tplDs ifnQ== X-Gm-Message-State: APjAAAUirvR4L3PBAbXH73J9QNp4hOahYnKQ8Osc2idP/bBlPXaDoXfo YaI1nTpV82DLvTJC96BvnoapOWic3cMyTXPDN44dsgz02mfgwN2AbglntgIx7jOBqC0QR43rnGr vDpm4Ufyu/ZO8uoD6CCelrRV4tsOHXx6xdMs71NYp X-Google-Smtp-Source: APXvYqz4VyaLWp2BNsRtf6tVfWY9SXvXn3eyOb1cGDCbg7t7BnNNm8UD6WpBp7cHh48IBsm+4dscpJPOK6hr3aKZZjE= X-Received: by 2002:a62:12c9:: with SMTP id 70mr75129613pfs.156.1555321595617; Mon, 15 Apr 2019 02:46:35 -0700 (PDT) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <1ef94f9fb4b10df8416e630e1dab988842dc84bf.camel@sent.com> In-Reply-To: <1ef94f9fb4b10df8416e630e1dab988842dc84bf.camel@sent.com> From: Richard Tweed Date: Mon, 15 Apr 2019 10:46:24 +0100 Message-ID: Subject: Re: [alpine-user] Support request - Force DNS requests to go over TCP To: Paul Bredbury Cc: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000037fce405868e872d" --00000000000037fce405868e872d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, I'll check that out! On Sat, 13 Apr 2019 at 10:40, Paul Bredbury wrote: > For any non-trivial DNS, I recommend to use Unbound. > > If you really need TCP, it has an option: > > tcp-upstream: > 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. > > http://man7.org/linux/man-pages/man5/resolv.conf.5.html > > On Alpine this doesn't seem to be supported and I would love to hear an= y > suggestions about achieving this behaviour. > > --=20 Richard Finlay Tweed --=20 Thought Machine Group a limited company registered in England & Wales. Registered number: 11114277.=C2=A0 Registered Office:=C2=A05 New Street Square,=20 London EC4A 3TW=20 . The content of this email is confidential and intended for the recipient=20 specified in message only. It is strictly forbidden to share any part of=20 this message with any third party, without a written consent of the sender.= =20 If you received this message by mistake, please reply to this message and= =20 follow with its deletion, so that we can ensure such a mistake does not=20 occur in the future. --00000000000037fce405868e872d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I'll check that out!
On Sat, 1= 3 Apr 2019 at 10:40, Paul Bredbury <br= ebs@sent.com> wrote:
For any non-trivial DNS, I recommend to use Unbound.

If you really need TCP, it has an option:

tcp-upstream: <yes or no>=C2=A0
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.
> http://man7.org/linux/man-pages/man5/res= olv.conf.5.html
> On Alpine this doesn't seem to be supported and I would love to he= ar any suggestions about achieving this behaviour.



--

Richard Finlay Tweed

<= p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><= br>



<= div style=3D"font-family:arial,sans-serif;font-size:12.8px;background-color= :rgb(255,255,255);color:rgb(80,0,80)">
Thought Machine Group a limited company registered in England &am= p; Wales.
Registered numbe= r: 11114277.=C2=A0
Registe= red Office:=C2=A05 New Street Square, London EC4A 3TW.=

The content of this email is = confidential and intended for the recipient specified in message only. It i= s strictly forbidden to share any part of this message with any third party= , without a written consent of the sender. If you received this message by = mistake, please reply to this message and follow with its deletion, so that= we can ensure such a mistake does not occur in the future. --00000000000037fce405868e872d-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---