• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1703
  • Last Modified:

nslookup uses wrong server

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 10.0.0.1 & 10.0.0.2
BUT, when I issue NSLOOKUP on the client, it says it can't find the server 10.0.1.3

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 10.0.1.3

I do know that 10.0.1.3 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
0
mark_uunix
Asked:
mark_uunix
  • 2
  • 2
  • 2
  • +1
2 Solutions
 
BarthaxCommented:
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.
0
 
nappy_dThere are a 1000 ways to skin the technology cat.Commented:
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
0
 
mark_uunixAuthor Commented:
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?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
mark_uunixAuthor Commented:
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.
0
 
nappy_dThere are a 1000 ways to skin the technology cat.Commented:
What is your DHCP server AD domain controller or other?
0
 
BarthaxCommented:
Group Policy is a swine but useful! ;)  Run RSOP.msc at the workstation, if you're ever curious what has taken effect.
0
 
MicaelmCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now