Introduction
This is an easy one. As I researched for another post, I was trying to use nslookup from the command line, but getting this error.
Error Message - *** Can't find server name for address w.x.y.z: Non-existent domain
Error Description
So my query looks like this:
Syntax:
nslookup [host] [dns-server]
Sample:
nslookup dbhr ns1
Error:
*** Can't find server name for address 10.0.y.z: Non-existent domain
Problem Resolution
Traced the problem back to a missing reverse IP Address for the referenced DNS Server.
To correct:
Add missing pointer record
- Launch DNS Management (dsnmgmt.msc)
- Connect to domain’s primary server
- Navigate to the “Reverse Lookup Zones”
- Select the subnet or create a new subnet
- Review the existing “Pointer” entries in the right pane
- If you find a matching IP Address, update it
- Or create a new one by right-clicking on the subnet branch and choosing the “New Pointer (PTR)” menu item
Clear DNS Cache
Syntax:
ipconfig /flushdns
Once your DNS Cache is cleared, please retry.