Thanks! Wonderful -- asked and answered.
----- Original Message ----- From: Joseph S D Yao [mailto:j...@tux.org] Sent: Friday, March 15, 2013 07:11 PM To: Novosielski, Ryan Cc: 'bind-users@lists.isc.org' <bind-users@lists.isc.org> Subject: Re: Can two views be layered? 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 j...@tux.org - Joseph S. D. Yao ** \*********************************************************************/ _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users