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 8F7FE1381F3 for ; Tue, 23 Jul 2013 07:40:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BDC6E09DE; Tue, 23 Jul 2013 07:40:30 +0000 (UTC) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41033E0983 for ; Tue, 23 Jul 2013 07:40:29 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id k7so10569396oag.9 for ; Tue, 23 Jul 2013 00:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PuRoRnY6u7Lp0mavsW3viCuRzrYVCQSO2nPivXEdkg8=; b=rAFj1jwcm6wxE8d9NIdIP4RL0sr8/MOf+qloQXXMt4y7j74PmTBMXFkzW3py3RW+F4 zBcCJmkio14/SdhT6xtgBN2YabUBmXUf45+cvkoWavjxAwJzY/ZROjv36zf3UnWAZWqW 2aSW1JXumHXSV2zSg48zC1vP+ffJVuEsdeUplZ41EB9um6mXlaBIp79Fdts+BnLFTJUG Le67OFCD+EMBhQDpwkjxBWx5xZk2q8PauNYN1k9qKdpGDg70oC81uqr7laF+gX20fS8A IgO+nU4pPRPawXsLpjGAGzVZgJE/BHEaq2oGGaGKNoTySaAFJwgQuGhT067VnckKP5kf G1Tw== 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 X-Received: by 10.60.161.136 with SMTP id xs8mr29374681oeb.77.1374565228326; Tue, 23 Jul 2013 00:40:28 -0700 (PDT) Received: by 10.76.92.40 with HTTP; Tue, 23 Jul 2013 00:40:28 -0700 (PDT) Date: Tue, 23 Jul 2013 11:40:28 +0400 Message-ID: Subject: [gentoo-user] Make BIND inject queries From: Pavel Volkov To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=089e01183a1827b6cd04e228e862 X-Archives-Salt: 3dfdb1c3-d515-4d9a-98a2-0cbd00f55bf3 X-Archives-Hash: b2a11ed81e441ee6744c7239dd3667aa --089e01183a1827b6cd04e228e862 Content-Type: text/plain; charset=ISO-8859-1 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? --089e01183a1827b6cd04e228e862 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 exampl= e.org domain, like host1.example.o= rg, host2.example.org etc.
They make DNS query through recursive server A.
Authoritativ= e server for example.org domain is serve= r B and it's totally unrelated.

Below is an ex= ample 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=A02001:db8:a::1.
2. When host2 queries server A for host1.example.com, server A should return the same= =A02001:db8:a::1 AAAA record (resolved through aut= horitative 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?
--089e01183a1827b6cd04e228e862--