超出名称服务器限制,一些名称服务器已被省略,应用的名称服务器行是:8.8.8.8 8.8.4.4 fe80::d635:1dff:fe01:1232%2

超出名称服务器限制,一些名称服务器已被省略,应用的名称服务器行是:8.8.8.8 8.8.4.4 fe80::d635:1dff:fe01:1232%2

我有一个 Kubernetes 集群 - 版本 1.24.3 - 由四台 ubuntu 20.04 服务器组成。唯一的问题是我不断收到有关“超出名称服务器限制...”的警告

在此处输入图片描述

上图突出显示了这种情况在每个节点上都发生,并且数量过多。每条消息包括:

Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 8.8.8.8 8.8.4.4 fe80::d635:1dff:fe01:1232%2

我检查了一下,人们似乎指出该resolv.conf文件包含太多条目。但是,没有答案解释删除某些条目是否安全。文件中还指出不要编辑它。

我如何才能让警告停止?

解析.conf:

# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search broadband localdomain

相关内容