Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
821b16a4
Commit
821b16a4
authored
Jul 23, 2022
by
Till Brehm
Browse files
Update bind_plugin.inc.php
parent
5bbec2b9
Pipeline
#11660
passed with stage
in 6 minutes and 51 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/bind_plugin.inc.php
View file @
821b16a4
...
...
@@ -90,7 +90,7 @@ class bind_plugin {
if
(
!
file_exists
(
$dns_config
[
'bind_zonefiles_dir'
]
.
'/'
.
$this
->
zone_file_prefix
()
.
$domain
))
return
false
;
//* Check Entropy
if
(
file_get_contents
(
'/proc/sys/kernel/random/entropy_avail'
)
<
4
00
)
{
if
(
file_get_contents
(
'/proc/sys/kernel/random/entropy_avail'
)
<
2
00
)
{
$app
->
log
(
'DNSSEC ERROR: We are low on entropy. Not generating new Keys for '
.
$domain
.
'. Please consider installing package haveged.'
,
LOGLEVEL_WARN
);
echo
"DNSSEC ERROR: We are low on entropy. Not generating new Keys for
$domain
. Please consider installing package haveged.
\n
"
;
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment