Re: Overriding Included Zone File Entries

2013-03-05 Thread Doug Barton
On 03/05/2013 11:08 AM, Pat Suwalski wrote: Hello everyone, I have a question about using the $INCLUDE directive in my zone files. We run DNS for a moderately large number of domains, largely pointing at the same servers. So, I'd really like to have the following setup: db.common.inc: ma

Re: Overriding Included Zone File Entries

2013-03-05 Thread Mark Andrews
In message <513654f9.4060...@suwalski.net>, Pat Suwalski writes: > On 13-03-05 02:44 PM, Barry Margolin wrote: > > Instead of one include file for everything, use separate include files: > > > > $INCLUDE db.common.mail.inc > > $INCLUDE db.common.www.inc > > $INCLUDE db.common.spf.inc > > > > Then

Re: Overriding Included Zone File Entries

2013-03-05 Thread Pat Suwalski
On 13-03-05 02:44 PM, Barry Margolin wrote: Instead of one include file for everything, use separate include files: $INCLUDE db.common.mail.inc $INCLUDE db.common.www.inc $INCLUDE db.common.spf.inc Then you can omit some $INCLUDE directives in the zones that have more specific records. I gues

Re: Overriding Included Zone File Entries

2013-03-05 Thread Pat Suwalski
On 13-03-05 02:51 PM, Barry S. Finkel wrote: What you need to do is have the common piece in an $INCLUDE file and put changed items (such as www in your example) in each view. If www changes in each view, then do not include it in the common file. If, for example, you have three views, and www i

Re: Overriding Included Zone File Entries

2013-03-05 Thread Barry S. Finkel
On 3/5/2013 1:08 PM, Pat Suwalski wrote: Hello everyone, I have a question about using the $INCLUDE directive in my zone files. We run DNS for a moderately large number of domains, largely pointing at the same servers. So, I'd really like to have the following setup: db.common.inc: mai

Re: Overriding Included Zone File Entries

2013-03-05 Thread Barry Margolin
In article , Pat Suwalski wrote: > Hello everyone, > > I have a question about using the $INCLUDE directive in my zone files. > > We run DNS for a moderately large number of domains, largely pointing at > the same servers. So, I'd really like to have the following setup: > > db.common.inc: >

Re: Overriding Included Zone File Entries

2013-03-05 Thread Alan Clegg
On Mar 5, 2013, at 2:08 PM, Pat Suwalski wrote: > Does anyone know if it is possible to make the new entry override the > previously included one rather than add to it? No, you are creating an RRSet of all of the listed records. > If not, is there a typical config structure that has worked for