From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 347FF1381F3 for ; Tue, 23 Jul 2013 07:45:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 013CAE09FE; Tue, 23 Jul 2013 07:45:30 +0000 (UTC) Received: from uriel.asininetech.com (uriel.asininetech.com [142.4.209.58]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A702FE0983 for ; Tue, 23 Jul 2013 07:45:28 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by uriel.asininetech.com (Postfix) with ESMTP id 0EC70E0A06 for ; Tue, 23 Jul 2013 03:45:28 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 0EC70E0A06 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1374565528; bh=37VkpaXyMkP1XVfJZo73yEKjdxaEUqHPuYcaI76Bgkc=; h=Date:From:To:Subject:References:In-Reply-To; b=wSXQvQLBO76fzLumZiPngKv3yisn5/a1alDfNgx3XSqYhAHLSYXnXX9E31f3nqqf6 ZN2K+pvF1VgYVz8dt5gUI+3+/z9CNPhBhNG76UfnQzAJj5UYeH++40elxdBHlAWnX9 A1/l92h2EjffcsncCMOeqC4ZztFfa4ey9DYRzyBQ= Received: from uriel.asininetech.com ([127.0.0.1]) by localhost (uriel.asininetech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q5R16FThtdtk for ; Tue, 23 Jul 2013 03:45:26 -0400 (EDT) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uriel.asininetech.com (Postfix) with ESMTPSA id AEA92E09AD for ; Tue, 23 Jul 2013 03:45:26 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com AEA92E09AD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1374565526; bh=37VkpaXyMkP1XVfJZo73yEKjdxaEUqHPuYcaI76Bgkc=; h=Date:From:To:Subject:References:In-Reply-To; b=zIJeR/0+bhowMEX6xl+xHa/RyNyx/9f29/RirnGYnnyT5CYz+8HlzoYAi9d3J3HbH a8BsC+NPIaUhSXes3UvV5/QAS+HNyUXCZACp4dnJykuKaUFQ+wqFQn54IGNf0MlnNl 6ngQ9eX7huHTd6OIzdpxBDOpPu2RA8quagVnkbFM= Date: Tue, 23 Jul 2013 03:45:25 -0400 From: staticsafe To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Make BIND inject queries Message-ID: <20130723074525.GC18309@uriel.asininetech.com> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 590582e9-8989-4b6b-8ff6-4f5b959134be X-Archives-Hash: 07b8d643831624899066417a331a1515 On Tue, Jul 23, 2013 at 11:40:28AM +0400, Pavel Volkov wrote: > I have recently installed BIND as a recursive resolver for local network. > > I'll explain my configuration. There's a network with hosts binded to > example.org domain, like host1.example.org, host2.example.org etc. > They make DNS query through recursive server A. > Authoritative server for example.org domain is server B and it's totally > unrelated. > > Below is an example of what I'd like to accomplish. > 1. When the outside make a DNS query for host1.example.org, it should only > receive its AAAA record 2001:db8:a::1. > 2. When host2 queries server A for host1.example.com, server A should > return the same 2001:db8:a::1 AAAA record (resolved through authoritative > server) and also inject 192.168.1.100 A record into the reply. > > How can I setup BIND on server A to make it happen? Sounds like you want the BIND views functionality: http://ftp.isc.org/isc/bind9/cur/9.9/doc/arm/Bv9ARM.ch06.html#id2591409 -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post. Please don't CC! I'm subscribed to whatever list I just posted on.