Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/destefa1/public_html/nf/function.php:1) in /home/destefa1/public_html/nf/function.php on line 220
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/restartsrv_named Copyright 2015 cPanel, Inc.
# All rights Reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
use strict;
# preserve original behavior
if ( -e '/var/cpanel/usensd' ) {
exec '/usr/local/cpanel/scripts/restartsrv_nsd', @ARGV;
}
elsif ( -e '/var/cpanel/usemydns' ) {
exec '/usr/local/cpanel/scripts/restartsrv_mydns', @ARGV;
}
elsif ( -e '/var/cpanel/usepowerdns' ) {
exec '/usr/local/cpanel/scripts/restartsrv_pdns', @ARGV;
}
else {
exec '/usr/local/cpanel/scripts/restartsrv_bind', @ARGV;
}