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, regardless of where in the DNS tree it is.  It
redirects the subtree under the DNAME but not name where the DNAME is.
You can put other RRs (except CNAME of course) at the same name as the
DNAME.

>I found single DNAME easier than playing with $INCLUDE.

If it does what you want, sure.  In the frequent case that it doesn't,
you need to do something else.

R's,
John
___
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


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
therefore it's not possible to redirect it easily.


There are a variety of ways to deal with this
but in practice:


another possibility is to include the same file to zone files for both
domains as Leonard Mills recommended.


is the easiest way to do it if you're using BIND.


I found single DNAME easier than playing with $INCLUDE.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm. 
___

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


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 zone files for both
>domains as Leonard Mills recommended. 

is the easiest way to do it if you're using BIND.

R's,
John
___
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


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 want to ask is it possible to have a CNAME configuration by which I can
divert all queries for my xyz.gov.in domain to xyz.in domain.


not like this. Note that:

- "*" in source address will apply for all non-existing domains, which means,
any domain already existing in xyz.gov.in will NOT be affected.
- "*" in destination will not work as wildcard.

the DNAME already recommended by Dave Warren is what you want:

xyz.gov.in. DNAME   xyz.in.

another possibility is to include the same file to zone files for both
domains as Leonard Mills recommended.  This way you can also have other,
different records in both domains, good when you want transition from one
domain to another.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges. 
___

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


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, Reponse-Rate Limit doesn't work until you configure 

> bind with "-enable-rrl" option.

> 

> I was wondering why is it so ?

> 

> Why not this feature is enabled by default in bind.

 

RRL was added to the BIND 9.9 branch late, in release 9.9.3.

 

Ordinarily, it's our policy only to add new features in 9.x.0 releases.

We felt that this feature was important enough to make an exception to our
usual rule, but since code changes of that size always introduce a risk of
destabilization, we decided to make it a compile-time option: those who want
RRL can get it; those who don't can skip it.

 

RRL will be enabled by default in 9.10.0.

 

--

Evan Hunt --   e...@isc.org

Internet Systems Consortium, Inc.

___
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

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.

But this doesn't helps.

I want to ask is it possible to have a CNAME configuration by which I 
can divert all queries for my xyz.gov.in domain to xyz.in domain.




That sounds roughly like a possible use for a DNAME record, I believe.

--
Dave Warren
http://www.hireahit.com/
http://ca.linkedin.com/in/davejwarren

HAM AND EGGS: A day's work for a chicken; A lifetime commitment for a pig

___
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

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





On Tuesday, December 31, 2013 11:31 PM, Gaurav Kansal  
wrote:
 
Dear Guys,
> 
>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.
> 
>But this doesn’t helps.
> 
>I want to ask is it possible to have a CNAME configuration by which I can 
>divert all queries for my xyz.gov.in domain to xyz.in domain.
> 
>Happy New Year J.
> 
>Thanks and Regards,
>Gaurav Kansal
>Emp Code - 6274
>Mob – 9910118448
>Intercom – 7331
> 
>Have you enabled IPv6 on something today...?
> 
>___
>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
>
>___
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