cat /var/named/data/named.run
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.112.36.4#53: connection reset
missing expected cookie from 192.33.4.12#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.33.4.12#53: connection reset
missing expected cookie from 199.9.14.201#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.33.4.12#53: connection reset
missing expected cookie from 199.9.14.201#53
missing expected cookie from 192.36.148.17#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.33.4.12#53: connection reset
missing expected cookie from 199.9.14.201#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.36.148.17#53: connection reset
missing expected cookie from 192.112.36.4#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.112.36.4#53: connection reset
missing expected cookie from 192.33.4.12#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 199.9.14.201#53: connection reset
missing expected cookie from 192.36.148.17#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 192.36.148.17#53: connection reset
missing expected cookie from 192.112.36.4#53
dispatch 0xfffc40130270: shutting down due to TCP receive error: 199.9.14.201#53: connection reset
shutting down
stopping command channel on 127.0.0.1#953

无公网环境下服务启动超时。

改为脚本启动,不适用systemctl方案

/entrypoint.sh 末尾

echo "start named process"
/usr/sbin/named -u named -c /etc/named.conf -4
sleep 1
tail -f /var/named/data/named.run

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐