Can't Ping by Name

Okay, this is driving me crazy. I have a Windows 2008R2 print server set up. It is working fine for all existing printers that are connected to it. I am trying to add a new port "accounting" and I get an error. In troubleshooting, I discovered the server will not resolve the DNS name of the printer.

Here is what works:
Ping printer by IP
Ping another printer by name
Ping printer by name from a workstation (Win 7 x64)
Making another port to the same printer by IP instead of name

What doesn't work:
Nslookup on the printer name from the server (works from the workstation)
Ping printer by name

So I have a workaround of referring to the printer by IP instead of name, but this is not our standard. The strangest thing is how nslookup can fail for one system and work on another. Any other ideas?
LVL 26
Brian BEE Topic Advisor, Independant Technology ProfessionalAsked:
Who is Participating?
 
Brian BConnect With a Mentor EE Topic Advisor, Independant Technology ProfessionalAuthor Commented:
Got it... and I think this is worth PAQ for anyone else who has these problems....

The printer had not registered itself on the DNS server. So there was no DNS record. Manually added the record and it solved the problem. We did not have this problem with other printers becuase they were authenticated and able to self register. This one (Laserjet 4515) is not.

The reason I could ping from my workstation was that I had set the name on the printer itself, and the printer is on the same subnet as my workstation.
0
 
SouljaCommented:
Have you tried flushing your dns cache on the server?  ipconfig /flushdns
0
 
SouljaCommented:
From the server when you do a nbtstat -a ipaddress of printer? What do you get?
0
 
Brian BEE Topic Advisor, Independant Technology ProfessionalAuthor Commented:
Oops... forgot that I did ipconfig /flushdns.

NBTSTAT as mentioned nets the following (*serverip* is the IP address of the server with the problem):

Local Area Connection:
Node IpAddress: [*serverip*] Scope Id: []

    Host not found.
0
 
Brian BEE Topic Advisor, Independant Technology ProfessionalAuthor Commented:
Found the problem myself. Thanks for the help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.