首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >(警告) IP地址“XXX.XXX.XX.XXX”无法解析:名称或服务未知

(警告) IP地址“XXX.XXX.XX.XXX”无法解析:名称或服务未知
EN

Server Fault用户
提问于 2020-08-15 17:08:43
回答 1查看 4K关注 0票数 1

我使用Mariadb-10.3,127.0.0.1:3310.网站运行正常,一切都很好。但我在日志中注意到了这些联系:

代码语言:javascript
复制
200812 21:16:31 [Warning] IP address '195.54.167.225' could not be resolved: Name or service not known
200813  1:44:22 [Warning] IP address '177.156.63.4' has been resolved to the host name '177.156.63.4.dynamic.adsl.gvt.net.br', which resembles IPv4-address itself.
200813  3:03:27 [Warning] IP address '51.103.146.73' could not be resolved: Name or service not known
200813  3:24:40 [Warning] IP address '20.52.50.38' could not be resolved: Name or service not known
200813 15:01:29 [Note] Hostname 'worker-13.sfj.censys-scanner.com' does not resolve to '192.35.168.220'.
200813 15:01:29 [Note] Hostname 'worker-13.sfj.censys-scanner.com' has the following IP addresses:
200813 15:01:29 [Note]  - 192.35.168.208

200813 18:14:01 [Warning] IP address '170.130.187.30' could not be resolved: Name or service not known
200813 21:14:05 [Warning] IP address '64.227.86.82' could not be resolved: Name or service not known
200813 21:39:55 [Note] Hostname '186-210-095-134.xd-dynamic.algarnetsuper.com.br' does not resolve to '186.210.95.134'.
200813 21:39:55 [Note] Hostname '186-210-095-134.xd-dynamic.algarnetsuper.com.br' has the following IP addresses:
200813 21:39:55 [Note]  - 195.85.231.19

200813 23:11:43 [Warning] IP address '92.63.194.76' could not be resolved: Name or service not known
200814  1:17:00 [Warning] IP address '79.152.33.82' has been resolved to the host name '82.red-79-152-33.dynamicip.rima-tde.net', which resembles IPv4-address itself.
200814 13:18:19 [Warning] IP address '118.193.28.58' could not be resolved: Name or service not known
200814 18:47:42 [Note] Hostname '3c2e01.rederatural.com' does not resolve to '104.140.188.10'.
200814 18:47:42 [Note] Hostname '3c2e01.rederatural.com' has the following IP addresses:
200814 18:47:42 [Note]  - 212.32.237.101

200814 20:25:51 [Note] Hostname '683b217.rederatural.com' does not resolve to '104.140.188.6'.
200814 20:25:51 [Note] Hostname '683b217.rederatural.com' has the following IP addresses:
200814 20:25:51 [Note]  - 212.32.237.90

200814 22:43:46 [Note] Hostname 'zg-0708b-125.stretchoid.com' does not resolve to '192.241.238.224'.
200814 22:43:46 [Note] Hostname 'zg-0708b-125.stretchoid.com' has the following IP addresses:
200814 22:43:46 [Note]  - 178.210.89.119

200814 23:08:48 [Note] Hostname 'zg-0708a-49.stretchoid.com' does not resolve to '192.241.212.195'.
200814 23:08:48 [Note] Hostname 'zg-0708a-49.stretchoid.com' has the following IP addresses:
200814 23:08:48 [Note]  - 178.210.89.119

200814 23:40:20 [Warning] IP address '80.82.78.85' could not be resolved: Name or service not known
200815  2:01:33 [Warning] IP address '183.136.225.44' could not be resolved: Name or service not known

之后,mysql服务器被禁用,我必须重新启动它。你能告诉我这是什么吗?黑客未遂还是别的什么?

我在某个地方读过它,在/etc/my.cnf中添加了skip_name_resolve = 1。有帮助吗?

EN

回答 1

Server Fault用户

回答已采纳

发布于 2020-08-15 18:00:25

对于每个传入的连接,MariaDB都试图进行DNS查找。正如您在问题中所写的,将skip-name-resolve = on添加到/etc/my.cnf将阻止查找。

事实上,您甚至得到了这些连接尝试,这意味着您的DB暴露在Internet上。

票数 4
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1030258

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档