Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Zvonimir
ISPConfig 3
Commits
c36fe430
Commit
c36fe430
authored
May 04, 2012
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Implemented FS#2167.
parent
dd7ce475
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server/plugins-available/bind_plugin.inc.php
server/plugins-available/bind_plugin.inc.php
+2
-1
No files found.
server/plugins-available/bind_plugin.inc.php
View file @
c36fe430
...
...
@@ -305,7 +305,7 @@ class bind_plugin {
global
$app
,
$conf
;
//* Only write the master file for the current server
$tmps
=
$app
->
db
->
queryAllRecords
(
"SELECT origin, xfer, also_notify FROM dns_soa WHERE active = 'Y' AND server_id="
.
$conf
[
"server_id"
]);
$tmps
=
$app
->
db
->
queryAllRecords
(
"SELECT origin, xfer, also_notify
, update_acl
FROM dns_soa WHERE active = 'Y' AND server_id="
.
$conf
[
"server_id"
]);
$zones
=
array
();
//* Check if the current zone that triggered this function has at least one NS record
...
...
@@ -341,6 +341,7 @@ class bind_plugin {
$options
.
=
" allow-transfer
{
none;
}
;
\n
"
;
}
if
(
trim
(
$tmp
[
'also_notify'
])
!=
''
)
$options
.
=
' also-notify {'
.
str_replace
(
','
,
';'
,
$tmp
[
'also_notify'
])
.
";};
\n
"
;
if
(
trim
(
$tmp
[
'update_acl'
])
!=
''
)
$options
.
=
" allow-update
{
".str_replace(',',';',$tmp['update_acl']).";
}
;
\n
"
;
if
(
file_exists
(
$zone_file
))
{
$zones
[]
=
array
(
'zone'
=>
substr
(
$tmp
[
'origin'
],
0
,
-
1
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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