NetWorker: Creating a new client does not complete with message "is not a valid hostname as it cannot be resolved in DNS"

摘要: Adding a client through New Client Properties in NetWorker 19.7.0.3 does not complete, and reports an error "Name is not a valid hostname 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)." ...

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

Adding a client through New Client Properties in NetWorker 19.7.0.3 does not complete and displays the following error:
Name <CLIENTNAME> 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 <NetWorker server pid> FlushDnsCache).
 
Screenshot of Error message
Figure 1: Screenshot of Error message

原因

The hostname fails name resolution either through DNS or through the 'hosts' file.

Even if the hostname resolves, if this error message occurred previously, the NetWorker DNS Cache prevents the client from being added.

解决方案

Add the client hostname to DNS (forward and reverse entries) or add it to the 'hosts' file using the format:

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


Follow the steps below to "flush" the NetWorker DNS Cache:

  1. Obtain the PID of the 'nsrd' and 'nsrexecd' processes using the below commands:

Windows:

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

Linux:

ps -e | grep nsrd
ps -e | grep nsrexecd
  1. Run the below command against the PID of the 'nsrd' and 'nsrexecd' and use the switch as shown:
dbgcommand -p <PID> FlushDnsCache
文章属性
文章编号: 000212659
文章类型: Solution
上次修改时间: 29 6月 2023
版本:  3
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。