public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: staticsafe <me@staticsafe.ca>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Make BIND inject queries
Date: Tue, 23 Jul 2013 03:45:25 -0400	[thread overview]
Message-ID: <20130723074525.GC18309@uriel.asininetech.com> (raw)
In-Reply-To: <CAGBogHwo_FvojR1rs1JRv-nh1xMo_6Zc2cr1W+Gw=RKvku8KkQ@mail.gmail.com>

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.


  reply	other threads:[~2013-07-23  7:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23  7:40 [gentoo-user] Make BIND inject queries Pavel Volkov
2013-07-23  7:45 ` staticsafe [this message]
2013-07-23  8:11   ` Pavel Volkov
2013-07-23  8:25 ` Alan McKinnon
2013-07-23 17:24   ` Pavel Volkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130723074525.GC18309@uriel.asininetech.com \
    --to=me@staticsafe.ca \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox