Fixed a bug that cause blocks like sortlist not be parsed properly, and possible cause Webmin to corrupt other parts of the named.conf file.
Redirect and explanation modifiers can be viewed and edited in SPF records.
Added a Module Config option for additional master IP addresses for remote slave zones.
+If nscd is running when BIND is restarted or a zone is applied, it will be signalled to re-read DNS caches too.
return &text('restart_esig', $pid, $!);
}
}
+&refresh_nscd();
return undef;
}
return $job;
}
+# refresh_nscd()
+# Signal nscd to re-read cached DNS info
+sub refresh_nscd
+{
+if (&find_byname("nscd")) {
+ if (&has_command("nscd")) {
+ # Use nscd -i to reload
+ &system_logged("nscd -i hosts >/dev/null 2>&1 </dev/null");
+ }
+ else {
+ # Send HUP signal
+ &kill_byname_logged("nscd", "HUP");
+ }
+ }
+}
+
1;
elsif ($? || $out =~ /failed|not found|error/i) {
&error(&text('restart_endc', "<tt>$out</tt>"));
}
+&refresh_nscd();
&webmin_log("apply", $dom);
$tv = $zone->{'type'};