在bind9上安装针孔



我在现有的bind9安装之上安装了pihole。现在我无法启动FTL:

pihole-FTL dnsmasq: failed to create listening socket for 192.168.0.2: Address already in use

我必须关闭bind9吗,或者我可以更改bind9的端口吗(当pihole工作时,我不再需要我的bind9了,但也许pihole需要bind9——但我找不到任何关于它的信息(没有关于Ubuntu 18.04中仍然存在的配置文件的信息(。


附件:

整体输出:

# systemctl status pihole-FTL.service 
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; generated)
Active: active (exited) since Mon 2020-09-28 21:18:59 CEST; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 21530 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
Process: 21546 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Sep 28 21:18:59 ubuntu1804 pihole-FTL[21530]: Not running
Sep 28 21:18:59 ubuntu1804 systemd[1]: Stopped LSB: pihole-FTL daemon.
Sep 28 21:18:59 ubuntu1804 systemd[1]: Starting LSB: pihole-FTL daemon...
Sep 28 21:18:59 ubuntu1804 pihole-FTL[21546]: Not running
Sep 28 21:18:59 ubuntu1804 su[21581]: Successful su for pihole by root
Sep 28 21:18:59 ubuntu1804 su[21581]: + ??? root:pihole
Sep 28 21:18:59 ubuntu1804 su[21581]: pam_unix(su:session): session opened for user pihole by (uid=0)
Sep 28 21:18:59 ubuntu1804 pihole-FTL[21546]: dnsmasq: failed to create listening socket for 192.168.0.2: Address already in use
Sep 28 21:18:59 ubuntu1804 su[21581]: pam_unix(su:session): session closed for user pihole
Sep 28 21:18:59 ubuntu1804 systemd[1]: Started LSB: pihole-FTL daemon.

我找到了一个有效的解决方案。我停止了bind9和pihole FTL。然后我再次启动了pihole FTL。然后它起作用了。我禁用了bind9以确保它不再困扰我。

systemctl stop bind9 pihole-FTL
systemctl start pihole-FTL
systemctl disable bind9

相关内容

  • 没有找到相关文章

最新更新