I install ProBIND 1.0.3
I saw infinite loop in script IMPORT for my config DNS.
Work of script IMPORT is O'k after my patch.
--- probind/etc/import 2010-04-16 15:23:19.000000000 +0400
+++ probind/etc/import.php 2010-04-21 14:17:46.000000000 +0400
@@ -296,9 +296,9 @@
if ($opts['v'])
print "Found zone: '$zone'\n";
next_conf_token($input); # skip the leading brace
- $braces = 1;
+ $braces = 0;
$options = "";
- while ($braces > 0) {
+ do {
$in_options = 1;
switch ($token = strtolower(next_conf_token($input))) {
case 'type';
@@ -338,7 +338,7 @@
$options .= "\n";
}
}
- }
+ } while ($braces > 0) ;
next_conf_token(input); # Skip the trailing semicolon
if (!$type
|| (($type == "master") && !$file)
Anonymous
This might be related to an older bug where it would fail if a zone class was included. Can you please check after r80 and see if this bug is still valid? If so, please provide a test case.
Hi all, sorry but i have a problem with Probind.I can't to configure a conditional forwarding to other dns.
It's possible with Probind to configure a conditional forwarding?
Thank you very much?