From owner-freebsd-questions@FreeBSD.ORG Sat Sep 28 07:37:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9FAA7102 for ; Sat, 28 Sep 2013 07:37:10 +0000 (UTC) (envelope-from loran42o@laposte.net) Received: from smtpout.laposte.net (smtpout3.laposte.net [193.253.67.228]) by mx1.freebsd.org (Postfix) with ESMTP id 44B2B2E48 for ; Sat, 28 Sep 2013 07:37:09 +0000 (UTC) Received: from [192.168.76.1] ([62.147.142.218]) by mwinf8506-out with ME id WXd71m00D4ivp8E03Xd7a9; Sat, 28 Sep 2013 09:37:08 +0200 Message-ID: <52468723.5080701@laposte.net> Date: Sat, 28 Sep 2013 09:37:07 +0200 From: loran42o User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130824 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: How to ask a DNS resolver listening on a different port than the tcp/udp 53 References: <5245CC59.5060204@laposte.net> <524600CF.3040609@fjl.co.uk> <13463C66-C15D-48E0-B926-CA0BF6580CAD@elde.net> In-Reply-To: <13463C66-C15D-48E0-B926-CA0BF6580CAD@elde.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 07:37:10 -0000 Le 28.09.2013 00:08, Terje Elde a écrit : > On 28. sep. 2013, at 00:03, Frank Leonhardt wrote: > >> If I understand the way it works correctly, the resolver pulls a list of the NS and hard-sets the port number for each to 53 (via a manifest constant) . See libc/resolv/res_init.c. All you need to do(!) is change this to a value of your choice and recompile libc > > Sorry, but this is startin to look a lot like a complicated solution to a problem that isn't really there... > > Why not just point from resolv.conf to localhost, run a caching and/or recursive dns-server there, and point it whereever? > > As far as I can tell, that'd solve everything, add caching, and let it all be controlled from the config of the DNS-server? > > Terje Hi, I guess this is the way that'll end. Laurent SALIN