Re: Query regardign CNAME

2014-01-01 Thread Leonard Mills
Not with a CNAME, but you can get what you want with two zone definitions and one $INCLUDE directive in each zone below the appropriate $ORIGIN statements.  That way will allow all of your, for example, RRs to be the same in each domain but only be maintained in one entry. hth, Len

Re: Query regardign CNAME

2014-01-01 Thread Dave Warren
On 2013-12-31 23:30, Gaurav Kansal wrote: I have 2 domains and i want both have exact similar entries. What I tried is to have entries in one zone file and in another I tried something as mentioned below:- **.xyz.gov.in CNAME *.xyz.in* where xyz.gov.in and xyz.in are my two domains.

RE: Enabing RRL in bind

2014-01-01 Thread Gaurav Kansal
Thanks Evan. J -Original Message- From: Evan Hunt [mailto:e...@isc.org] Sent: Tuesday, December 31, 2013 1:27 AM To: Gaurav Kansal Cc: bind-users@lists.isc.org Subject: Re: Enabing RRL in bind On Mon, Dec 30, 2013 at 05:47:13PM +0530, Gaurav Kansal wrote: In bind 9.9.4,

Re: Query regardign CNAME

2014-01-01 Thread Matus UHLAR - fantomas
On 01.01.14 13:00, Gaurav Kansal wrote: I have 2 domains and i want both have exact similar entries. What I tried is to have entries in one zone file and in another I tried something as mentioned below:- *.xyz.gov.in CNAME *.xyz.in where xyz.gov.in and xyz.in are my two domains. I

Re: Query regardign CNAME

2014-01-01 Thread John Levine
the DNAME already recommended by Dave Warren is what you want: xyz.gov.in.DNAME xyz.in. Except that DNAME only applies to names under xyz.gov.in, not to xyz.gov.in itself. There are a variety of ways to deal with this but in practice: another possibility is to include the same file to

Re: Query regardign CNAME

2014-01-01 Thread Matus UHLAR - fantomas
the DNAME already recommended by Dave Warren is what you want: xyz.gov.in. DNAME xyz.in. On 01.01.14 18:16, John Levine wrote: Except that DNAME only applies to names under xyz.gov.in, not to xyz.gov.in itself. Usually because xyz.gov.in must already have SOA and NS records and

Re: Query regardign CNAME

2014-01-01 Thread John Levine
xyz.gov.in. DNAME xyz.in. On 01.01.14 18:16, John Levine wrote: Except that DNAME only applies to names under xyz.gov.in, not to xyz.gov.in itself. Usually because xyz.gov.in must already have SOA and NS records and therefore it's not possible to redirect it easily. That's what DNAME does,