Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
etc /
rc0.d /
Delete
Unzip
Name
Size
Permission
Date
Action
K01apache-htcacheclean
2.43
KB
-rwxr-xr-x
2019-06-16 11:49
K01apache2
7.99
KB
-rwxr-xr-x
2019-06-16 11:49
K01bacula-fd
2.63
KB
-rwxr-xr-x
2018-03-04 12:49
K01clamav-freshclam
7.51
KB
-rwxr-xr-x
2022-05-27 11:18
K01exim4
6.6
KB
-rwxr-xr-x
2018-02-10 09:26
K01fail2ban
6.54
KB
-rwxr-xr-x
2017-04-17 16:27
K01irqbalance
2.39
KB
-rwxr-xr-x
2016-12-30 19:59
K01mdadm
2.59
KB
-rwxr-xr-x
2016-07-26 17:41
K01mdadm-waitidle
1.22
KB
-rwxr-xr-x
2016-07-26 17:41
K01memcached
3.38
KB
-rwxr-xr-x
2018-06-03 11:37
K01netfilter-persistent
1.33
KB
-rwxr-xr-x
2020-05-02 21:33
K01openbsd-inetd
2.39
KB
-rwxr-xr-x
2016-12-26 15:10
K01postfix
3.54
KB
-rwxr-xr-x
2020-02-16 20:53
K01pure-ftpd
2.97
KB
-rwxr-xr-x
2016-12-08 13:28
K01pure-ftpd-mysql
2.98
KB
-rwxr-xr-x
2016-12-08 13:28
K01snmpd
2.52
KB
-rwxr-xr-x
2018-10-09 10:45
K02clamav-daemon
9.34
KB
-rwxr-xr-x
2022-05-27 11:18
K02dovecot
5.12
KB
-rwxr-xr-x
2020-08-14 18:28
K02nginx
4.47
KB
-rwxr-xr-x
2021-06-07 21:02
K03mysql
5.79
KB
-rwxr-xr-x
2020-10-12 19:40
K04bind9
3.35
KB
-rwxr-xr-x
2018-01-15 22:40
K05networking
4.49
KB
-rwxr-xr-x
2016-09-16 15:02
K05rsyslog
2.8
KB
-rwxr-xr-x
2017-01-18 23:14
K06hwclock.sh
3.72
KB
-rwxr-xr-x
2017-03-22 10:43
README
353
B
-rw-r--r--
2017-02-12 22:55
Save
Rename
#!/bin/sh -e ### BEGIN INIT INFO # Provides: bind9 # Required-Start: $remote_fs # Required-Stop: $remote_fs # Should-Start: $network $syslog # Should-Stop: $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop bind9 # Description: bind9 is a Domain Name Server (DNS) # which translates ip addresses to and from internet names ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin # for a chrooted server: "-u bind -t /var/lib/named" # Don't modify this line, change or create /etc/default/bind9. OPTIONS="" RESOLVCONF=no test -f /etc/default/bind9 && . /etc/default/bind9 test -x /usr/sbin/rndc || exit 0 . /lib/lsb/init-functions PIDFILE=/run/named/named.pid check_network() { if [ -x /usr/bin/uname ] && [ "X$(/usr/bin/uname -o)" = XSolaris ]; then IFCONFIG_OPTS="-au" else IFCONFIG_OPTS="" fi if [ -z "$(/sbin/ifconfig $IFCONFIG_OPTS)" ]; then #log_action_msg "No networks configured." return 1 fi return 0 } case "$1" in start) log_daemon_msg "Starting domain name service..." "bind9" modprobe capability >/dev/null 2>&1 || true # dirs under /run can go away on reboots. mkdir -p /run/named chmod 775 /run/named chown root:bind /run/named >/dev/null 2>&1 || true if [ ! -x /usr/sbin/named ]; then log_action_msg "named binary missing - not starting" log_end_msg 1 fi if ! check_network; then log_action_msg "no networks configured" log_end_msg 1 fi if start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/named \ --pidfile ${PIDFILE} -- $OPTIONS; then if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.named fi log_end_msg 0 else log_end_msg 1 fi ;; stop) log_daemon_msg "Stopping domain name service..." "bind9" if ! check_network; then log_action_msg "no networks configured" log_end_msg 1 fi if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then /sbin/resolvconf -d lo.named fi pid=$(/usr/sbin/rndc stop -p | awk '/^pid:/ {print $2}') || true if [ -z "$pid" ]; then # no pid found, so either not running, or error pid=$(pgrep -f ^/usr/sbin/named) || true start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/named \ --pidfile ${PIDFILE} -- $OPTIONS fi if [ -n "$pid" ]; then sig=0 n=1 while kill -$sig $pid 2>/dev/null; do if [ $n -eq 1 ]; then echo "waiting for pid $pid to die" fi if [ $n -eq 11 ]; then echo "giving up on pid $pid with kill -0; trying -9" sig=9 fi if [ $n -gt 20 ]; then echo "giving up on pid $pid" break fi n=$(($n+1)) sleep 1 done fi log_end_msg 0 ;; reload|force-reload) log_daemon_msg "Reloading domain name service..." "bind9" if ! check_network; then log_action_msg "no networks configured" log_end_msg 1 fi /usr/sbin/rndc reload >/dev/null && log_end_msg 0 || log_end_msg 1 ;; restart) if ! check_network; then log_action_msg "no networks configured" exit 1 fi $0 stop $0 start ;; status) ret=0 status_of_proc -p ${PIDFILE} /usr/sbin/named bind9 2>/dev/null || ret=$? exit $ret ;; *) log_action_msg "Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload|status}" exit 1 ;; esac exit 0