X-Original-To: alpine-user@lists.alpinelinux.org Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lists.alpinelinux.org (Postfix) with ESMTP id 8CB28F854E6 for ; Sat, 13 Apr 2019 09:40:43 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 80E8745A; Sat, 13 Apr 2019 05:40:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 13 Apr 2019 05:40:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sent.com; h= message-id:subject:from:to:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=fm3; bh= kG2YrG7IBDbO3eHRTkL0P8IMAGaebI37H0hxUX4vuJ8=; b=mUP9KbvOoBmi26zw a0tbDVj28j7Sjw6iBCRfxNJ0q2aycbxG1UHYGjLNSX4W50RUJeSEhZaeLYOdYhEn q8THdtcqqukMf9UiyQHf95n8GwRS0fqrwFr4d3gfDqLBN2eQTkxQRbvlomR10SxJ Ps0rIJT7cchqXqUOCNF+rPVgd6cVHHdqSfMH31XWL8JIkh9VB9gSs5lccNbMFTeB RwskQ7MSwlCzfYNrCsgtIWB3Zakz57R7KW17nBx1kNFmorOsanWCJIRmDA1I/TgC 85/OXtQ2AWsiUZdQCVryRYHdSwG2LnDjDJyWiXq9PrDfcqQ8d4/pSc3qQh+JqU40 6lxHtQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=kG2YrG7IBDbO3eHRTkL0P8IMAGaebI37H0hxUX4vu J8=; b=f5cpaYJ8OlTmTTdRl8kGEB8gVNKn7EOM6sX5FQUElb0I9EZPmLqKSojx4 SJ3GyCbhNGy2VYtxq9d0MWi5CWpiQ5TvlRFMhsVw+EcDZryHoSrIkLmz5H20JiFo qJ52b/U/bVSp0KdnJa0Mn04eNZtd9/Jsovm8piHFNYA5mJ6qm/EZ1FBp+mVUXBqT HVZUJbqaYLQKPhLvQlCTKCQKzAXOXFSFrcFdQe93CjW3hOgh2p7IKhFxEQ04Jn9A pkSG87AA+/lpNj9/p7DIiH+ijjJrkhk5xtkY64wFXbkdBFlLjUmYeZoGmcs3IhUA tK/XcTivw7j1ymEQIY3rL7niXRHxA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrvdehgddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkuffhvfffjghftggfggfgsehtjeertddtreejnecuhfhrohhmpefrrghulhcu uehrvggusghurhihuceosghrvggsshesshgvnhhtrdgtohhmqeenucffohhmrghinhepmh grnhejrdhorhhgnecukfhppeejledrjeefrddufeeirddvvdegnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegsrhgvsghssehsvghnthdrtghomhenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Received: from brebsc.lan (79-73-136-224.dynamic.dsl.as9105.com [79.73.136.224]) by mail.messagingengine.com (Postfix) with ESMTPA id 68443E4519; Sat, 13 Apr 2019 05:40:41 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=brebsc.lan) by brebsc.lan with esmtp (Exim 4.92) (envelope-from ) id 1hFF9L-00014S-IB; Sat, 13 Apr 2019 10:40:39 +0100 Message-ID: <1ef94f9fb4b10df8416e630e1dab988842dc84bf.camel@sent.com> Subject: Re: [alpine-user] Support request - Force DNS requests to go over TCP From: Paul Bredbury To: Richard Tweed , alpine-user@lists.alpinelinux.org Date: Sat, 13 Apr 2019 10:40:39 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.1 X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 any suggestions about achieving this behaviour. --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---