Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


nslookup uses wrong server

Posted on 2009-02-19
Medium Priority
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
  • 2
  • 2
  • 2
  • +1
LVL 19

Accepted Solution

Barthax earned 750 total points
ID: 23680001
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

nappy_d earned 750 total points
ID: 23680032
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

ID: 23680107
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?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 23680128
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

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

Expert Comment

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

Expert Comment

ID: 37193545
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

580 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