ECS 服务控制台:“Validate Node hostname” “Check DNS Settings” Fail with Case Mismatch
Summary: 由于域名系统 (DNS) 主机名之间的大小写不匹配,ECS 服务控制台检查“验证节点主机名”或“检查 DNS 设置”失败。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
当节点上的主机名与 DNS 中找到的名称不匹配时,服务控制台会记录错误。此检查区分大小写。
对于每个具有不匹配的节点,将记录以下错误:
对于每个具有不匹配的节点,将记录以下错误:
20220101 12:00:00.000: Validate Node hostname [ERROR] The hostname on node 169.254.1.1 is 'ecsnode01.dell.com' and the fqdn from the ini file is 'ECSNODE01.dell.com' - they do not match
DNS 设置检查与前向和后向测试的 DNS 结果之间存在区分大小写的差异。请参阅本示例中的以下内容:ECSNODE01.dell.com 与 ecsnode01.dell.com
20231108 09:31:22.270: | | FAIL [ERROR] 'Check DNS settings' failed: Could not find 'ECSNODE01.dell.com' in 'nslookup 10.0.0.1' output. Node: 169.254.1.1 10.0.0.1.dell.com = ecsnode1.dell.com. Authoritative answers can be found from:
Cause
ECS 节点主机名必须与 DNS 中找到的主机名完全匹配。这包括正向和反向查找区域。此检查区分大小写。
Resolution
验证正向和反向区域 DNS 是否与主机名完全匹配。
在此示例中,仅正向和反向 DNS 的差异区分大小写,从而生成警报。
在此示例中,主机名为“ecsnode01.戴尔。com:”
admin@ecsnode01:~> hostname -f
ecsnode01.dell.com
使用以下命令检查转发用户系统上的 DNS nslookup 和节点的 FQDN:
admin@ecsnode01:~> nslookup ecsnode01.dell.com Server: 192.1xx.2xx.254 Address: 192.1xx.2xx.254#53 Non-authoritative answer: Name: ecsnode01.dell.com Address: 10.0.0.1
在此示例中,正向 DNS 查找与主机名匹配。两者都是 小写的。
使用以下命令检查用户系统上的反向 DNS nslookup 和节点的 IP 地址:
admin@ecsnode01:~> nslookup 10.0.0.1 1.0.0.10.in-addr.arpa name = ECSNODE01.dell.com.in-addr.arpa. Authoritative answers can be found from:
在此示例中,反向 DNS 查找将返回主机名的大写字母。反向 DNS 区域应更新为小写,以匹配系统上的主机名。
要解决此问题,请更改 DNS 服务器中的条目,因为无法更改 ECS 中的 FQDN。此问题的 DNS 应更新,以便它与主机名匹配。主机名、正向 DNS 查找或反向 DNS 查找之间的任何不匹配都会导致此错误。
用户作:
文章 80094:ECS:是否支持更改 ECS 节点的外部或公用名称 (FQDN) 或公用 IP 地址
如果在升级前检查中检测到:
20231107 12:51:45.771: | Check DNS settings 20231107 12:51:46.248: | | FAIL [ERROR] 'Check DNS settings' failed: Could not find 'ECSNODE1.ch.net.intra' in 'nslookup 10.0.0.1' output. Node: 169.2xx.1.1 10.0.0.1.in-addr.arpa name = ecsnode1.ch.net.intra. Authoritative answers can be found from:
由于区分大小写的差异,这可能是误报;如果仅在区分大小写方面有所不同,则不会阻止升级。
对节点运行以下检查,以检查它是否区分大小写差异:
admin@ECSNODE1:~> hostname ECSNODE1.ch.net.intra admin@ECSNODE1:~> hostname -f ECSNODE1.ch.net.intra admin@ECSNODE1:~> hostname -i 10.0.0.1 admin@ECSNODE1:~> nslookup ECSNODE1 Server: 192.1xx.2xx.254 Address: 192.1xx.2xx.254#53 Non-authoritative answer: Name: ECSNODE1.ch.net.intra Address: 10.0.0.1 admin@ECSNODE1:~> nslookup ecsnode1 Server: 192.1xx.2xx.254 Address: 192.1xx.2xx.254#53 Non-authoritative answer: Name: ecsnode1.ch.net.intra Address: 10.0.0.1 admin@ECSNODE1:~> nslookup 10.0.0.1 1.88.96.10.in-addr.arpa name = ecsnode1.ch.net.intra. Authoritative answers can be found from: admin@ECSNODE1:~>
如果检测到的唯一差异是字母大小写,则这是升级前检查中的误报。
Affected Products
ECS, ECS ApplianceArticle Properties
Article Number: 000203965
Article Type: Solution
Last Modified: 02 Jul 2025
Version: 11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.