Recursor only config for localhost

2009-04-10 Thread bsd

Hello,


Would It be possible to configure BIND to be only a recursor for local  
querries on a different default port than 53?


I have an authoritative server for various zones that I have  
configured using PowerDNS which is already listening on 53.

PowerDNS recursor comes as an add-on and seems to be very weak and slow.
Of course he should not try to resolve querries for local zones that  
are handled by PowerDNS (ideally he should transmit these querries to  
the other DNS server)…



I would like to use regular bind and keep my other server running and  
resolving querries from the Internet for the zones that we are handling.



Do you have any suggestions?




Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing  
this e-mail"



___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Script to delete zone from named.conf

2010-02-04 Thread bsd
Hello, 

I am looking for a script to delete a zone from named.conf and maybe also from 
server (zone file). 

My zone file looks like that (but could have some variations). Everything 
inside brackets should be deleted… and eventually the host file. 

zone "abc.com" {
   type slave; 
   masters  { 213.14.17.2 ; };
   file "hosts.abc.com";
};

zone "def.fr" {
   type slave; 
   masters  { 23.174.17.2 ; };
   file "hosts.def.fr";
};

zone "xyz.net" {
   type slave; 
   masters  { 23.74.27.2 ; };
   file "hosts.xyz.net";
};



I am not really a script guru and don't really know how to do that (sed ?). 

Thanks for your support. 



¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Script to delete zone from named.conf

2010-02-04 Thread bsd
Thanks for your reply… 

I know I can do that with grep, but you see I have 270 domains to delete from 
my named.conf. 

My question was more: has anyone got a working script that I can use in order 
to delete name from my "named.conf" file ? 


Idealy It should be a script that I can use in a "for do done" sequence like 

for i in `cat list_to_delete.txt` 
do my_remove_script.(sh|pl|xx) $i done


Thanks. 

Le 4 févr. 2010 à 18:22, Rick Dicaire a écrit :

> On Thu, Feb 4, 2010 at 12:12 PM, bsd  wrote:
>> zone "abc.com" {
>>   type slave;
>>   masters  { 213.14.17.2 ; };
>>   file "hosts.abc.com";
>> };
> 
> You could put the whole statement on one line, then use grep or sed
> based on the zone name.
> Operationally, it'd work, and no doubt others will argue aesthetic
> reasons not to do this. Alternately
> a more complicated script could be written to handle the format as you
> currently have it.
> 
> -- 
> aRDy Music and Rick Dicaire present:
> http://www.ardynet.com
> http://www.ardynet.com:9000/ardymusic.ogg.m3u


Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Script to delete zone from named.conf

2010-02-04 Thread bsd
Thanks Evan, 

I'll try that and maybe try to embed that on a bash script… 

The formatting should be the same for most of my domains… Anyway I'll test that 
on copy of my zone file ;-) 

sed and awk haven't got so friendly syntax; but they are indeed very powerful… 


Sincerly yours. 

Le 4 févr. 2010 à 19:19, Evan Hunt a écrit :

>> I know I can do that with grep, but you see I have 270 domains to delete
>> from my named.conf. 
>> 
>> My question was more: has anyone got a working script that I can use in
>> order to delete name from my "named.conf" file ? 
> 
> cat named.conf | \
>awk 'BEGIN {suppress = 0}
> /zone "whatever.com"/ {suppress = 1}
> {if (suppress == 0) print; if ($1 == "};" && NF == 1) suppress = 0}'
> 
> Or words to that effect.  Works as long as the zones are always formatted
> the same way.
> 
> --
> Evan Hunt -- e...@isc.org
> Internet Systems Consortium, Inc.


Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Strange behaviour with DNSSec

2010-03-08 Thread bsd
Hello, 


I am running an important subzone of .museum zone (which implements both DNSSec 
and IDN) and I have a strange behavior going on… 

Some requests seems not to be resolved correctly with certain operators… 
One out of six requests are not resolved correctly. 

Instead of giving the answer of the request, It returns the SOA record… 


I use to run the latest bind 9.5.x branch. 
I have moved this morning to 9.7.x branch… hopping this might help solving my 
problem. 


Any idea how to test / investigate that further… 


Sincerely yours. 


Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz


P "Please consider your environmental responsibility before printing this 
e-mail"


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users