Visa DNS Lookup

Posted on 2009-02-13
Last Modified: 2012-05-06
My Windows Vista Enterprise x64 Edition has some weird DNS issues. If I try to connect to a Remote Desktop for example, I punch in and it comes back straight away saying cannot find server.

I go to a command prompt, type in:



Which works fine, no delay, just performs a DNS lookup straight away, if I then immediately type:

Ping request could not find host Please check the name
and try again.



The DNS lookup clearly works because NS Lookup is OK, so why won't Windows bloody lookup the DNS name and do what it's supposed to do ?

Typing ipconfig /flushdns at the command prompt seems to fix it, and it then works properly, but I should not have to do that. This is basic networking Microsoft ?!


Question by:ttnetworks
    LVL 33

    Accepted Solution

    I don't think Bill Gates snuck into your office and deliberately mis-configured your workstation/network. ;)

    I would expect nslookup to work since it always contacts your nameserver directly, whereas other things like ping and mstsc are going to use cached name queries.  So when you ask to connect to machine1 Windows performs a name lookup against the DNS server, the DNS server says "sorry, no such host" - and later (when this host does exist) you try the same thing, your computer never asks the DNS server for the address, instead it remembers that the last time it asked about machine1 the DNS server said no such host, and so assumes this is still true.

    Disabling negative DNS caching may help resolve this, try here:

    Or, you may have an issue with your DNS server, domain controller, or a particular host you're trying to connect to.
    LVL 16

    Expert Comment

    Do you have a secondary DNS server configured for your workstation that might be answering some of your queries negatively?  If so, try querying them both from nslookup in turn and check they're saying the same thing.
    LVL 2

    Expert Comment

    in cmd line type ipconfig /flushdns and try again.

    Author Comment


    Read the last paragraph of my question.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
    Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    761 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

    7 Experts available now in Live!

    Get 1:1 Help Now