From owner-freebsd-net@FreeBSD.ORG Tue Aug 29 09:46:02 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F29016A4DD for ; Tue, 29 Aug 2006 09:46:02 +0000 (UTC) (envelope-from ss666@bsd.mirknigi.ru) Received: from mx4.bsd.mirknigi.ru (mx4.bsd.mirknigi.ru [217.114.33.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 1921B43D46 for ; Tue, 29 Aug 2006 09:46:00 +0000 (GMT) (envelope-from ss666@bsd.mirknigi.ru) Received: (qmail 35131 invoked by uid 0); 29 Aug 2006 09:43:48 -0000 Received: from 172.17.2.38 by mx4.bsd.mirknigi.ru (envelope-from , uid 0) with qmail-scanner-1.25 (clamdscan: devel-20060403/1369. sweep: 2.32.14/4.04.0. f-prot: 4.5.4/3.16.6. spamassassin: 3.1.0. Clear:RC:0(172.17.2.38):SA:0(0.0/3.5):. Processed in 4.48502 secs); 29 Aug 2006 09:43:48 -0000 X-Spam-Status: No, hits=0.0 required=3.5 X-Qmail-Scanner-Mail-From: ss666@bsd.mirknigi.ru via mx4.bsd.mirknigi.ru X-Qmail-Scanner: 1.25 (Clear:RC:0(172.17.2.38):SA:0(0.0/3.5):. Processed in 4.48502 secs) Received: from unknown (HELO ?172.17.2.38?) (ss666@bsd.mirknigi.ru@172.17.2.38) by mx4.bsd.mirknigi.ru with SMTP; 29 Aug 2006 09:43:43 -0000 Message-ID: <44F40CB3.5020502@bsd.mirknigi.ru> Date: Tue, 29 Aug 2006 13:45:23 +0400 From: Alexey Vesnin Organization: Mir Knigi LLC ITSecurity User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: net@freebsd.org Content-Type: multipart/mixed; boundary="------------030905000102080802090002" Cc: Subject: [Fwd: Re: possible patch for implementing split DNS] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ss666@bsd.mirknigi.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 09:46:02 -0000 This is a multi-part message in MIME format. --------------030905000102080802090002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm currently working on a similar patch - so you welcome to contact me if you need one. And - by the way - is there's a need for such a patch? then I can post it to this list Alexey "Steel Scorpion 666" Vesnin --------------030905000102080802090002 Content-Type: message/rfc822; name="Re: possible patch for implementing split DNS" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: possible patch for implementing split DNS" Return-Path: Delivered-To: ss666@bsd.mirknigi.ru Received: (qmail 34197 invoked by uid 1000); 29 Aug 2006 08:50:09 -0000 Delivered-To: ss666@mx4.bsd.mirknigi.ru Received: (qmail 34191 invoked by uid 98); 29 Aug 2006 08:50:09 -0000 Received: from 217.114.33.23 by mx4.bsd.mirknigi.ru (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: devel-20060403/1369. sweep: 2.32.14/4.04.0. f-prot: 4.5.4/3.16.6. spamassassin: 3.1.0. Clear:RC:0(217.114.33.23):SA:0(1.5/3.5):. Processed in 2.864928 secs); 29 Aug 2006 08:50:09 -0000 X-Spam-Status: No, hits=1.5 required=3.5 X-Spam-Level: + X-Qmail-Scanner-Mail-From: owner-freebsd-net@freebsd.org via mx4.bsd.mirknigi.ru X-Qmail-Scanner: 1.25 (Clear:RC:0(217.114.33.23):SA:0(1.5/3.5):. Processed in 2.864928 secs) Received: from mx1.mirknigi.ru (217.114.33.23) by mx4.bsd.mirknigi.ru with SMTP; 29 Aug 2006 08:50:06 -0000 Received: from dummy.name; Tue, 29 Aug 2006 12:51:45 +0400 Received-SPF: pass receiver=mx1.mirknigi.ru; client-ip=216.136.204.119; envelope-from=owner-freebsd-net@freebsd.org Received: from dummy.name; Tue, 29 Aug 2006 08:50:41 +0000 (GMT) (envelope-from owner-freebsd-net@freebsd.org) Received: from dummy.name; Tue, 29 Aug 2006 08:50:34 +0000 (UTC) (envelope-from owner-freebsd-net@freebsd.org) X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from dummy.name; Tue, 29 Aug 2006 08:50:04 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from dummy.name; Tue, 29 Aug 2006 08:50:03 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from dummy.name; Tue, 29 Aug 2006 08:50:02 +0000 (UTC) Received: from dummy.name; Tue, 29 Aug 2006 10:50:02 +0200 (CEST) Date: Tue, 29 Aug 2006 10:50:02 +0200 From: "Simon L. Nielsen" To: Julian Elischer Message-ID: <20060829085001.GB982@zaphod.nitro.dk> References: <44EF6E18.6090905@elischer.org> <44EF74CD.6080500@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44EF74CD.6080500@elischer.org> User-Agent: Mutt/1.5.11 Cc: FreeBSD Net Subject: Re: possible patch for implementing split DNS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: owner-freebsd-net@freebsd.org Errors-To: owner-freebsd-net@freebsd.org On 2006.08.25 15:08:13 -0700, Julian Elischer wrote: > Julian Elischer wrote: > > >I need some processes to look elsewhere for DNS information from > >where the rest of the system looks.. This patch seems to me a > >simple solution. We over-ride where the resolver looks for > >resolv.conf using an environment variable. This would allow me to > >reset this to an application specific config file that specifies a > >different server. > > > >Anyone got better ways fo doing this? Since a bunch of people have suggested other solutions I just wanted to add me 0.01$CURRENCY, FWIW. Other than missing update for some manual page (not sure where this should go) I don't see a problem adding this patch. "Normal" users should be able already get similar functionality already by simply preloading a custom patched libc, so I don't see a problem supporting this. This is clearly much simpler than setting up a full blown bind with split DNS. -- Simon L. Nielsen _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --------------030905000102080802090002--