nslookup uses wrong server

Posted on 2009-02-19
Last Modified: 2012-05-06
Morning all (or afternoon, depending).
I use DHCP to issue out network settings for clients and when I issue the command IPCONFIG /ALL they display the correct settings and point to the correct DNS servers &
BUT, when I issue NSLOOKUP on the client, it says it can't find the server

So basically, somehow the clients are using the wrong DNS but IPCONG claims it is using the correct one.
I've tried ipconfig /registerdns, /flushdns etc.

There is definatly no other DHCP as I have issolated a clean build client and the servers.
I've reinstalled DNS and can find no trace whatsover in DNS or DHCP of this

I do know that was the old IP for the server, but I have removed all traces of that address (or at least I'm 99% sure) unless I have missed something.

Any ideas on where I should lookk anybody?

Many thanks Mark
Question by:mark_uunix
    LVL 19

    Accepted Solution

    nslookup picks up the primary DNS server entry from the primary LAN connection in preference to any DHCP settings.  Check the LAN (wired & wireless) network cards for a manually entered address.
    LVL 32

    Assisted Solution

    you can always do this:
    1. in the command line type nslookup and press enter
    2. at the next line type server Your)DNS_serverName_Or_IP_Address
    3. pres enter
    4. perform your query

    Author Comment

    Barthax, they are completly empty.
    nappy_d, that does not help in the day to name searching when exchanging files etc.

    Thanks both for you quick response, I do though feel it has something to with the DNS server.
    I can now take out a clean XP box plug it into the issolated switch and it will after sometime pick this setting up.

    What I can't figure apart from what Barthax says is why IPCONFIG is showing correct info?

    Author Comment

    OK.. time to put my hands up.

    It was defined in Group Policy.

    Many thanks for your help guys.. I'll share you the points half and half if I can.
    LVL 32

    Expert Comment

    What is your DHCP server AD domain controller or other?
    LVL 19

    Expert Comment

    Group Policy is a swine but useful! ;)  Run RSOP.msc at the workstation, if you're ever curious what has taken effect.

    Expert Comment

    Had this issue from the server.

    Under Local Area Connections, Properties, Advance TCP/IP Setting, Wins tab, make sure you dont have selected Enable: LMHOST Lookup.

    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.

    Join & Write a Comment

    Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    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). …

    745 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

    15 Experts available now in Live!

    Get 1:1 Help Now