On Fri, Mar 15, 2013 at 06:56:57PM -0400, Novosielski, Ryan wrote:
> Hi all. Running BIND 9.6 I believe it is. Not important what version as if
> there is a version that can do this and I'm not running it, I can go there.
>
> Is it possible to have a view that is in essence a list of exceptions to the
> main zone? eg. the example.com domain exists, so does www.example.com, but
> for a small subset of machines I need it to resolve to a different address --
> every other address should come from the main zone.
>
It is not possible to have views layered as you describe. However, try
this:
file zonename.shared with all shared records.
file zone.zonename.for-the-many with the records for the many.
$INCLUDE "zonename.shared"
File zone.zonename.for-the-few with the records for the few.
$INCLUDE "zonename.shared"
view "for_the_few" {
...
zone "zonename" {
...
file "data/zone.zonename.for-the-few";
...
};
};
view "for_the_many" {
...
zone "zonename" {
...
file "data/zone.zonename.for-the-many";
...
};
};
--
/*********************************************************************\
**
** Joe Yao [email protected] - Joseph S. D. Yao
**
\*********************************************************************/
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users