Re: Breaking up RFC 1918 reverse space

2011-07-25 Thread Peter Laws
On 07/23/11 22:08, Karl Auer wrote: Maybe this is an overly naive approach, but can't you set up one zone for 10.0.0.0/8 and delegate as necessary from that single zone file? Anything that you don't have an answer for will get NXDOMAIN, which is presumably what you want. So: zone "10.IN

Re: howto know if a query was delegated to cache

2011-07-25 Thread Kevin Darcy
On 7/25/2011 6:14 AM, harish badrinath wrote: (Originally sent to bind-workers, sorry if this is considered cross posting. Slightly modified from the original message) Hello, I am using Bind version:BIND 9.7.1-P2 I am doing some small internal changes to bind and i have to know when a query i

Re: Forward only zones.

2011-07-25 Thread Kevin Darcy
On 7/24/2011 2:15 AM, Vbvbrj wrote: options { allow-transfer { none; }; recursion yes; forward first; forwarders { a.b.c.d; }; // Forward to providers dns. }; zone "my_domain.com" IN { type forward; forward only; forwarders { a.b.c.d; }; // Forward to Windows DNS. }; I would like BI

stub zone

2011-07-25 Thread ju wusuo
Would like to use the BIND stub zone function, however, heard that ISC considers stopping support to stub zone in the future, is that true? ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mail

Re: Forward only zones.

2011-07-25 Thread Warren Kumari
On Jul 25, 2011, at 3:15 AM, Matus UHLAR - fantomas wrote: >>> On 24.07.11 09:15, Vbvbrj wrote: zone "my_domain.com" IN { > >> On 24.07.2011 18:40, Matus UHLAR - fantomas wrote: >>> I would prefer not to using underscores in domain names. While they are >>> allowed, they may cause some stu

Re: howto know if a query was delegated to cache

2011-07-25 Thread harish badrinath
> Have you seen the flags? the first has an "aa" flag set, while the > second doesn't have. Instead it has a "ra" flag set. Sorry for my > before post to write wrong with "rr" flag. Sorry for the confusion, I was talking about internal cache (db) instead of public recursive servers/authoritative se

Re: howto know if a query was delegated to cache

2011-07-25 Thread Feng He
You may have been confused about what should be cached and what should not be cached. This is an answer which is coming from the authoritative server and which is not a cached response: $ dig www.google.com @ns1.google.com ; <<>> DiG 9.6-ESV-R4 <<>> www.google.com @ns1.google.com ;; global opti

Re: howto know if a query was delegated to cache

2011-07-25 Thread harish badrinath
Hello, On Mon, Jul 25, 2011 at 6:03 PM, Feng He wrote: > There is a "rr" flag in the response which indicates the answer is not > from a cache. Could you please elaborate. Is the flag passed to the client ?? Attached are two calls to bind, to resolve www.google.com I have use the command dig www

Re: howto know if a query was delegated to cache

2011-07-25 Thread Feng He
There is a "rr" flag in the response which indicates the answer is not from a cache. On Mon, Jul 25, 2011 at 6:14 PM, harish badrinath wrote: > (Originally sent to bind-workers, sorry if this is considered cross > posting. Slightly modified from the original message) > > Hello, > > I am using Bi

Re: Can't create Symbol Table

2011-07-25 Thread harish badrinath
Hello, On Mon, Jul 25, 2011 at 4:11 PM, Vignesh Gadiyar wrote: > Hi, > ../../lib/dns/libdns.a(rdataset.o): In function `towiresorted': > /home/user1r/bind-9.8.0-P2/lib/dns/rdataset.c:500: undefined reference to > `custom_order_api' Change Makefile rules to tell gcc, when its compiling rdataset.o,

Can't create Symbol Table

2011-07-25 Thread Vignesh Gadiyar
Hi, I have created a customized ordering similar to random and cyclic. I have compiled named and it didn't give me any problem. But it is failing to create symbol table for dig. I have included the prototypes in header files but still i'm getting some error like- export BASEOBJS="dig.o dighost.o "

howto know if a query was delegated to cache

2011-07-25 Thread harish badrinath
(Originally sent to bind-workers, sorry if this is considered cross posting. Slightly modified from the original message) Hello, I am using Bind version:BIND 9.7.1-P2 I am doing some small internal changes to bind and i have to know when a query is being answered from internal cache and when fr

Re: Forward only zones.

2011-07-25 Thread Matus UHLAR - fantomas
On 24.07.11 09:15, Vbvbrj wrote: zone "my_domain.com" IN { On 24.07.2011 18:40, Matus UHLAR - fantomas wrote: I would prefer not to using underscores in domain names. While they are allowed, they may cause some stuff not to work. Why do you have underscore here? On 25.07.11 09:24, Vbvbrj w

Re: Forward only zones.

2011-07-25 Thread Vbvbrj
On 24.07.2011 18:40, Matus UHLAR - fantomas wrote: On 24.07.11 09:15, Vbvbrj wrote: forwarders { a.b.c.d; }; // Forward to providers dns. }; zone "my_domain.com" IN { I would prefer not to using underscores in domain names. While they are allowed, they may cause some stuff not to work. Why