In article <mailman.722.1289487596.555.bind-us...@lists.isc.org>, Stacey Jonathan Marshall <stacey.marsh...@oracle.com> wrote:
> On 11/11/2010 13:57, Stéphanas Schaden wrote: > > Hi all, > > > > Could any one give me an example of this configuration using > > $include ? > > > > What would be the content of the include file ? > > Anything that is allowed in named.conf at the point the included > statement is used. He doesn't need include in the named.conf file, he needs $INCLUDE in the zone file. myzone.internal.db: ----------------- $INCLUDE myzone.common.db specialhost IN A 1.1.1.1 ----------------- myzone.external.db: ----------------- $INCLUDE myzone.common.db specialhost IN A 2.2.2.2 ----------------- myzone.common.db: ----------------- @ IN SOA ... IN NS ... host1 IN A 10.1.2.3 host2 IN A 10.4.5.6 . . . ----------------- Then in your named.conf file you configure an internal view that uses myzone.internal.db, and an external view that uses myzone.external.db. -- Barry Margolin, bar...@alum.mit.edu Arlington, MA *** PLEASE don't copy me on replies, I'll read them in the group ***
_______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users