NetWorker:建立新用戶端並不會完成訊息「不是有效的主機名稱,因為它無法在 DNS 中解決」

Summary: 在 NetWorker 19.7.0.3 中透過新用戶端內容新增用戶端並不會完成,並回報錯誤「Name is not a valid hostname,因為它無法在 DNS 中解決。 請將其新增至 DNS 或主機檔案,並排清 NetWorker 伺服器的 DNS 快取 (dbgcommand -p FlushDnsCache)。」

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

在 NetWorker 19.7.0.3 中透過 新用戶端內容 新增用戶端並不會完成,並顯示下列錯誤:
Name  is not a valid host name as it cannot be resolved in DNS.
Please add it to DNS or the hosts file and flush the NetWorker server's DNS cache (dbgcommand -p  FlushDnsCache).
 
錯誤訊息螢幕擷取畫面
圖 1:錯誤訊息螢幕擷取畫面

Cause

主機名稱無法透過 DNS 或透過「主機」檔案的名稱解析。

即使主機名稱已解決,如果此錯誤訊息先前也發生,NetWorker DNS 快取記憶體也會阻止用戶端新增。

Resolution

將用戶端主機名稱新增至 DNS (正向和反向專案),或使用以下格式將其新增至「主機」檔案:

IP Address [space/tab] FQDN [space/tab] Short Name


請按照以下步驟「排清」NetWorker DNS 快取記憶體:

  1. 使用以下命令取得「nsrd」和「nsrexecd」程式的 PID:

Windows:

tasklist | findstr nsrd.exe
tasklist | findstr nsrexecd.exe

Linux:

ps -e | grep nsrd
ps -e | grep nsrexecd
  1. 在「nsrd」和「nsrexecd」的 PID 上執行以下命令,並使用如下所示的交換器:
dbgcommand -p  FlushDnsCache
Article Properties
Article Number: 000212659
Article Type: Solution
Last Modified: 29 Jun 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.