We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

nslookup uses wrong server

Medium Priority
1,777 Views
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 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
Comment
Watch Question

CERTIFIED EXPERT
Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Irwin W.There are a 1000 ways to skin the technology cat.
CERTIFIED EXPERT
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

Author

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?

Author

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.
Irwin W.There are a 1000 ways to skin the technology cat.
CERTIFIED EXPERT

Commented:
What is your DHCP server AD domain controller or other?
CERTIFIED EXPERT

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

Commented:
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.