NetWorker: Creating a new client does not complete with message "is not a valid hostname as it cannot be resolved in DNS"
Zusammenfassung: 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)." ...
Dieser Artikel gilt für
Dieser Artikel gilt nicht für
Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden.
In diesem Artikel werden nicht alle Produktversionen aufgeführt.
Symptome
Adding a client through New Client Properties in NetWorker 19.7.0.3 does not complete and displays the following error:
Figure 1: Screenshot of Error message
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).
Figure 1: Screenshot of Error message
Ursache
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.
Lösung
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:
- 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
- Run the below command against the PID of the 'nsrd' and 'nsrexecd' and use the switch as shown:
dbgcommand -p <PID> FlushDnsCache
Artikeleigenschaften
Artikelnummer: 000212659
Artikeltyp: Solution
Zuletzt geändert: 29 Juni 2023
Version: 3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.