How can one tell if ping returns a response using WINS or using DNS?

Posted on 2009-04-26
Last Modified: 2013-11-25
When attempting to use the PING command on a Windows XP machine how can one determine if the resulting IP for the HOST was via WINS or via DNS?

Is there any way to Force either DNS only or WINS only?

What happens if there is a difference or conflict between the same entry in DNS and in WINS

Obviously we are talking about pinging a one word host that is shorter than the WINS requirement.
Question by:mnathani
    LVL 6

    Assisted Solution

    if you do a ping computer_name and you get only:

    pinging COMPUTER_NAME[ip_of_computer_name] with 32 bytes of data:
    Blah, blah

    then the answer is coming from WINS

    if you do same ping and you get:
    pinging COMPUTER_NAME.domain.local[ip_of_computer_name] with 32 bytes of data:
    Blah, blah
    then the answer is coming from your DNS.
    LVL 4

    Author Comment

    Does nslookup strictly use DNS?   If so are there any such tools that use WINS only for lookup?

    what happens when the data in WINS and DNS are not the same? Which one over rides the other.

    Is there Registry settings to change the order of what is looked up?
    LVL 6

    Assisted Solution

    nblookup is the tool similar to nslookup used for WINS name resolution.
    this is the NetBIOS name resolution:
    --NetBIOS name cache
    This is by design.
    In case data in WINS and DNS are not the same then the easiest is to delete the records in both WINS and DNS and then try to re-register that computer again.
    LVL 6

    Accepted Solution

    Host Name Resolution:
    Local Host name
    NetBIOS name cache

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
    Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    733 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

    18 Experts available now in Live!

    Get 1:1 Help Now