Can't Ping by Name

Posted on 2011-04-19
Last Modified: 2012-05-11
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?
Question by:Brian B (TBone2K)
    LVL 26

    Expert Comment

    Have you tried flushing your dns cache on the server?  ipconfig /flushdns
    LVL 26

    Expert Comment

    From the server when you do a nbtstat -a ipaddress of printer? What do you get?
    LVL 22

    Author Comment

    by:Brian B (TBone2K)
    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.
    LVL 22

    Accepted Solution

    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.
    LVL 22

    Author Closing Comment

    by:Brian B (TBone2K)
    Found the problem myself. Thanks for the help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
    This tutorial will walk an individual through the process of upgrading their existing Backup Exec 2012 to 2014. Either install the CD\DVD into the drive and let it auto-start, or browse to the drive and double-click the Browser file: Select the ap…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now