How to ban the program start automatically on boot?
The 53 port will be used by program named.
tcp 0 0 110.110.110.110:53 0.0.0.0:* LISTEN 845/named tcp 0 0 192.168.22.1:53 0.0.0.0:* LISTEN 845/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 845/named Everytime the program 'named' start automatically on boot. How to ban it start automatically on boot? chkconfig named off named: unknown service |
Quote:
*If you don't need to provide DNS then best uninstall BIND and only reinstall name server software if absolutely necessary. |
root@hwy:/home/debian8# chkconfig --list
Code:
acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
As there is systemd as default initialization system in Debian now, I think that the correct way to remove any service or program from autostart is to use systemctl
Code:
# systemctl disable service_name |
It is no use
Code:
systemctl disable named netstat -anlp |grep 53 tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 694/named tcp 0 0 114.114.114.4:53 0.0.0.0:* LISTEN 694/named tcp 0 0 192.168.22.1:53 0.0.0.0:* LISTEN 694/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 694/named Code:
systemctl disable bind9 |
All times are GMT -5. The time now is 01:23 AM. |