From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12328 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Feature request: TCP DNS support Date: Wed, 3 Jan 2018 20:31:57 -0500 Message-ID: <20180104013157.GQ1627@brightrain.aerifal.cx> References: <5e59a94d-251c-9c2d-89fd-731d43b2822d@petroprogram.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1515029424 23582 195.159.176.226 (4 Jan 2018 01:30:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2018 01:30:24 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-12344-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 04 02:30:20 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eWuMD-0005By-2T for gllmg-musl@m.gmane.org; Thu, 04 Jan 2018 02:30:09 +0100 Original-Received: (qmail 9389 invoked by uid 550); 4 Jan 2018 01:32:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 9371 invoked from network); 4 Jan 2018 01:32:09 -0000 Content-Disposition: inline In-Reply-To: <5e59a94d-251c-9c2d-89fd-731d43b2822d@petroprogram.com> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:12328 Archived-At: On Thu, Jan 04, 2018 at 02:05:06AM +0200, Stefan Fröberg wrote: > Dear Sir > > I have managed to compile my own, statically linked, portable little > browser that uses musl and QtWebKit. > > Initial tests looks good but when testing encrypted DNS-over-TLS (which > needs TCP instead of UDP) with my system, > I could get nowhere. > So I guess musl does not yet support TCP DNS ? > > Could you please add support for passing TCP DNS requests too with musl ? > > It's all the rage now that Android has added support for it and the > DNS-over-TLS > standard starts to be finished, if not already finished. The supported way to do this with musl is via a nameserver on localhost responding to udp queries and performing whatever backend queries you want it to do. This (having a ns on localhost) is fundamentally necessary for meaningful DNSSEC support anyway, too. Even if musl did TCP itself, that wouldn't help you get DNS-over-TLS; for that you would need a TLS stack in libc. And you really don't want that. Rich