NetWorker: La creazione di un nuovo client non viene completata con il messaggio "is not a valid hostname as it cannot be resolved in DNS"

Summary: L'aggiunta di un client tramite le proprietà del nuovo client in NetWorker 19.7.0.3 non viene completata e viene visualizzato l'errore "Name is not a valid hostname as it cannot be resolved in DNS. Aggiungerlo al DNS o al file hosts e svuotare la cache DNS del server NetWorker (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

L'aggiunta di un client tramite Nuove proprietà client in NetWorker 19.7.0.3 non viene completata e viene visualizzato il seguente errore:
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).
 
Schermata del messaggio di errore
Figura 1. Schermata del messaggio di errore

Cause

Il nome host ha esito negativo con la risoluzione dei nomi tramite DNS o tramite il file "hosts".

Anche se il nome host viene risolto, se questo messaggio di errore si è verificato in precedenza, la cache DNS di NetWorker impedisce l'aggiunta del client.

Resolution

Aggiungere il nome host del client al DNS (voci di inoltro e inverso) o aggiungerlo al file "hosts" utilizzando il formato:

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


Seguire la procedura riportata di seguito per "svuotare" la cache DNS di NetWorker:

  1. Ottenere il PID dei processi "nsrd" e "nsrexecd" utilizzando i seguenti comandi:

Windows:

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

Linux:

ps -e | grep nsrd
ps -e | grep nsrexecd
  1. Eseguire il comando riportato di seguito a fronte del PID di "nsrd" e "nsrexecd" e utilizzare lo switch come mostrato di seguito:
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.