⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
bind8
/
View File Name :
restart_zone.cgi
#!/usr/bin/perl # restart_zone.cgi # Apply changes to one zone only using the ndc command use strict; use warnings; no warnings 'redefine'; no warnings 'uninitialized'; our (%access, %text, %in); require './bind8-lib.pl'; &ReadParse(); $access{'ro'} && &error($text{'restart_ecannot'}); $access{'apply'} || &error($text{'restart_ecannot'}); my $zone = &get_zone_name_or_error($in{'zone'}, $in{'view'}); &can_edit_zone($zone) || &error($text{'restart_ecannot'}); my $err = &restart_zone($zone->{'name'}, $zone->{'view'}); &error($err) if ($err); &webmin_log("apply", $zone->{'name'}); &redirect(&redirect_url($zone->{'type'}, $in{'zone'}, $in{'view'}));