Re: Named.conf logical blocks

2011-06-28 Thread Mark Andrews
In message <201106281853.55303.ste...@routotelecom.com>, Stefan Certic writes: > Hi Guys, > > Does anyone have a sample grammar for pharsing named.conf into a data > structure? Perl or PHP are preffered, but anything would be fine just to get a > clear picture about grammar and logical blocks. >

Re: better performance with 32 bit ! why?

2011-06-28 Thread Kevin Oberman
On Tue, Jun 28, 2011 at 7:32 AM, Ryan Novosielski wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 06/28/2011 12:30 PM, David Sparro wrote: >> On 6/28/2011 11:15 AM, iharrathi@orange-ftgroup.com wrote: >>> Hi all, >>> I'm testing the same version of bind 9.4-ESV-R4-P1 on two ser

RE: Named.conf logical blocks

2011-06-28 Thread Todd Snyder
there is a perl module out there that may help: http://cpan.uwinnipeg.ca/htdocs/BIND-Config-Parser/BIND/Config/Parser.html I don't know - I'm not much of a perl monkey (or any of one, really), but I may work for what you'd like. t. -Original Message- From: bind-users-bounces+tsnyder=ri

Re: Named.conf logical blocks

2011-06-28 Thread Stefan Certic
I am more looking for a solution to read data with perl and convert to some native data structure, like hash reference, or multidimenzional array, so i can access and change data in form of: $named_conf_file->{view1}-{zoneblah} = 'somedata' and then dump it back into original format. Regards,

Re: Named.conf logical blocks

2011-06-28 Thread David Forrest
On 06/28/2011 05:53 PM, Stefan Certic wrote: Hi Guys, Does anyone have a sample grammar for pharsing named.conf into a data structure? Perl or PHP are preffered, but anything would be fine just to get a clear picture about grammar and logical blocks. I send mine through named-checkconf to p

Re: Named.conf logical blocks

2011-06-28 Thread Phil Mayers
On 06/28/2011 05:53 PM, Stefan Certic wrote: Hi Guys, Does anyone have a sample grammar for pharsing named.conf into a data structure? Perl or PHP are preffered, but anything would be fine just to get a clear picture about grammar and logical blocks. The only think I ever wrote was a quick pyt

Re: better performance with 32 bit ! why?

2011-06-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/28/2011 12:30 PM, David Sparro wrote: > On 6/28/2011 11:15 AM, iharrathi@orange-ftgroup.com wrote: >> Hi all, >> I'm testing the same version of bind 9.4-ESV-R4-P1 on two server, one is >> a 32 bit (on which i have a redhat 32 bit) and the se

Named.conf logical blocks

2011-06-28 Thread Stefan Certic
Hi Guys, Does anyone have a sample grammar for pharsing named.conf into a data structure? Perl or PHP are preffered, but anything would be fine just to get a clear picture about grammar and logical blocks. Thanks! -- Stefan Certic RoutoMessaging 48 Charlotte Street London, W1T 2NS United Kin

Re: better performance with 32 bit ! why?

2011-06-28 Thread Eivind Olsen
iharrathi@orange-ftgroup.com wrote: > Is it normal that bind when compiled and installed on a 32 bit server have > better performance than bind when compiled and installed on a 64 bit > server. > the only différence between the two server is 64 bit vs 32 bit ( same RAM, > same Disk, same NIC,.

Re: better performance with 32 bit ! why?

2011-06-28 Thread David Sparro
On 6/28/2011 11:15 AM, iharrathi@orange-ftgroup.com wrote: Hi all, I'm testing the same version of bind 9.4-ESV-R4-P1 on two server, one is a 32 bit (on which i have a redhat 32 bit) and the second a 64 bit server on which i have a redhat 64 bit. on the 32 bit i reach 7 qps but on the 64

better performance with 32 bit ! why?

2011-06-28 Thread iharrathi.ext
Hi all, I'm testing the same version of bind 9.4-ESV-R4-P1 on two server, one is a 32 bit (on which i have a redhat 32 bit) and the second a 64 bit server on which i have a redhat 64 bit. on the 32 bit i reach 7 qps but on the 64 bit i only reach 5 qps (using resperf) and also with tcp

Re: EDNS request problem on TTL=0 data

2011-06-28 Thread Paul Wouters
On Tue, 28 Jun 2011, Cathy Almond wrote: BIND does take notice of this and it's something we're looking at to make better in future releases. But at the moment it's not foolproof and its effectiveness is dependent on circumstances. There is short term caching of learned 'we don't support EDNS'

Re: EDNS request problem on TTL=0 data

2011-06-28 Thread Cathy Almond
On 27/06/11 16:39, Paul Wouters wrote: > On Mon, 27 Jun 2011, Florian Weimer wrote: > >>> 1 Is this problem happening because EDNS failure is not remembered for >>> forwarders? >> >> There is no realiable way to detect EDNS support in forwarders, so there >> isn't anything to remember, really. Sa