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 # Actually create multiple zones use strict; use warnings; no warnings 'redefine'; no warnings 'uninitialized'; our (%access, %in, %text, %config); require './bind8-lib.pl'; ## no critic &ReadParseMime(); &ui_print_unbuffered_header(undef, $text{'mass_title'}, ""); &error_setup($text{'mass_err'}); my $conf = &get_config(); $access{'ro'} && &error($text{'master_ero'}); # Check if the template needs IPs my $tmpl_ip; if ($in{'tmpl'}) { for(my $i=0; $config{"tmpl_$i"}; $i++) { my @c = split(/\s+/, $config{"tmpl_$i"}, 3); if ($c[1] eq 'A' && !$c[2]) { $tmpl_ip++; } } } my $vn; my @zones; my $zonecount; my $lnum; # Build map of taken zones if ($in{'view'} ne '') { # In some view @zones = grep { $_->{'viewindex'} eq $in{'view'} && $_->{'type'} ne 'view' } &list_zone_names(); my $view = $conf->[$in{'view'}]; &can_edit_view($view) || &error($text{'mass_eviewcannot'}); $vn = $view->{'value'}; } else { # At top-level @zones = grep { !$_->{'view'} && $_->{'type'} ne 'view' } &list_zone_names(); $vn = undef; } my %taken = map { $_->{'name'}, $_ } @zones; # Get zone defaults my %zd; &get_zone_defaults(\%zd); if ($in{'local'}) { &allowed_zone_file(\%access, $in{'local'}) || &error($text{'mass_elocalcannot'}); my $local = &read_file_contents($in{'local'}); $local || &error($text{'mass_elocal'}); print "<b>",&text('mass_dolocal', "<tt>$in{'local'}</tt>"),"</b><br>\n"; &execute_batchfile($local); print "<b>",$text{'mass_done'},"</b><p>\n"; } if ($in{'upload'}) { print "<b>",&text('mass_doupload'),"</b><br>\n"; &execute_batchfile($in{'upload'}); print "<b>",$text{'mass_done'},"</b><p>\n"; } if ($in{'text'}) { print "<b>",&text('mass_dotext'),"</b><br>\n"; &execute_batchfile($in{'text'}); print "<b>",$text{'mass_done'},"</b><p>\n"; } &webmin_log("mass", undef, $zonecount); &ui_print_footer("", $text{'index_return'}); # execute_batchfile(data) sub execute_batchfile { my @lines = split(/[\r\n]+/, $_[0]); my $l; $lnum = 0; foreach my $l (@lines) { $lnum++; my @w = split(/:/, $l); my $dom = $w[0]; if ($dom !~ /^[a-z0-9\.\-\_]+$/) { &line_error($l, $text{'mass_edom'}); next; } my $isrev = 0; if (&check_ipaddress($dom)) { $dom = &ip_to_arpa($dom); $isrev = 1; } # Check for a clash if ($taken{$dom}) { &line_error($l, $text{'mass_etaken'}); next; } # Get the IP addresses my @mips = split(/\s+/, $w[3]); foreach my $mip (@mips) { if (!&check_ipaddress($mip)) { &line_error($l, $text{'mass_eip'}); next; } } my $type = $w[1] || "master"; my $file = $w[2]; my $dir; my $base; if ($type eq "master") { # Creating a master zone if (!$access{'master'}) { &line_error($l, $text{'mcreate_ecannot'}); next; } # Work out the base $base = $config{'master_dir'} ? $config{'master_dir'} : $access{'dir'} eq '/' ? &base_directory($conf) : $access{'dir'}; if ($base !~ /^([a-z]:)?\//) { # Master dir is relative .. make absolute $base = &base_directory()."/".$base; } # Make sure a template IP was given, if needed if ($tmpl_ip && !@mips) { &line_error($l, $text{'mass_etmpl'}); next; } # Work out the filename if ($file) { if ($file !~ /^\//) { $file = $base."/".$file; } if (!&allowed_zone_file(\%access, $file)) { &line_error($l, &text('create_efile2', $file)); next; } } else { $file = &automatic_filename($dom, $isrev, $base, $vn); } if (-r &make_chroot($file)) { &line_error($l, &text('create_efile4', $file)); next; } # Create the zone file and initial records my $master = $config{'default_prins'} || &get_system_hostname(); $master =~ s/\.$//; $master .= "."; my $email = $config{'tmpl_email'} || "root\@$master"; $email = &email_to_dotted($email); &create_master_records($file, $dom, $master, $email, $zd{'refresh'}.$zd{'refunit'}, $zd{'retry'}.$zd{'retunit'}, $zd{'expiry'}.$zd{'expunit'}, $zd{'minimum'}.$zd{'minunit'}, 1, $in{'onslave'} && $access{'remote'}, $in{'tmpl'}, $mips[0]); # Create the zone directive $dir = { 'name' => 'zone', 'values' => [ $dom ], 'type' => 1, 'members' => [ { 'name' => 'type', 'values' => [ 'master' ] }, { 'name' => 'file', 'values' => [ $file ] } ] }; } elsif ($type eq "slave" || $type eq "stub") { # Creating a slave or stub zone if (!$access{'slave'}) { &line_error($l, $text{'screate_ecannot1'}); next; } # Work out the base $base = $config{'slave_dir'} ? $config{'slave_dir'} : $access{'dir'} eq '/' ? &base_directory($conf) : $access{'dir'}; if ($base !~ /^([a-z]:)?\//) { # Slave dir is relative .. make absolute $base = &base_directory()."/".$base; } # Make sure some master IPs were given if (!@mips) { &line_error($l, $text{'mass_emips'}); next; } # Work out the filename if ($file eq "none") { $file = undef; # no file! } elsif ($file) { if ($file !~ /^\//) { $file = $base."/".$file; } if (!&allowed_zone_file(\%access, $file)) { &line_error($l, &text('create_efile2', $file)); next; } } else { $file = &automatic_filename($dom, $isrev, $base, $vn); } # Create the file now if ($file) { my $ZONE; if (!open($ZONE, ">", &make_chroot($file))) { &line_error($l, &text('create_efile3', $file, $!)); next; } close($ZONE); &set_ownership(&make_chroot($file)); } # Create the structure my @mdirs = map { { 'name' => $_ } } @mips; my $masters = { 'name' => 'masters', 'type' => 1, 'members' => \@mdirs }; $dir = { 'name' => 'zone', 'values' => [ $dom ], 'type' => 1, 'members' => [ { 'name' => 'type', 'values' => [ $type ] }, $masters ] }; if ($file) { push(@{$dir->{'members'}}, { 'name' => 'file', 'values' => [ $file ] }); } } elsif ($type eq "forward") { # Creating a forward if (!$access{'forward'}) { &line_error($l, $text{'fcreate_ecannot'}); next; } # Make sure some master IPs were given if (!@mips) { &line_error($l, $text{'mass_emips'}); next; } # Create the structure my @mdirs = map { { 'name' => $_ } } @mips; my $masters = { 'name' => 'forwarders', 'type' => 1, 'members' => \@mdirs }; $dir = { 'name' => 'zone', 'values' => [ $dom ], 'type' => 1, 'members' => [ { 'name' => 'type', 'values' => [ 'forward' ] }, $masters ] }; } else { &line_error($l, $text{'mass_etype'}); next; } if ($dir) { # Add the zone structure &create_zone($dir, $conf, $in{'view'}); &add_zone_access($dom); $taken{$dom}++; &line_ok($dom, $type); $zonecount++; } if ($type eq "master" && $in{'onslave'} && $access{'remote'}) { # Create on slave servers my @slaveerrs = &create_on_slaves($dom, $config{'this_ip'} || &to_ipaddress(&get_system_hostname()), undef, undef, $vn); print " \n"; if (@slaveerrs) { my $serrs = join(", ", map { "$_->[0]->{'host'} : $_->[1]" } @slaveerrs); print "<font color=#ff0000>", &text('mass_eonslave', $serrs),"</font><br>\n"; } else { print &text('mass_addedslaves', $dom),"<br>\n"; } } } } sub line_error { print "<font color=#ff0000>",&text('mass_eline', $lnum, $_[1], $_[0]), "</font><br>\n"; } sub line_ok { print &text('mass_added'.$_[1], $_[0]),"<br>\n"; }