nslookup not working for some domains on my server. It's weird from my desktop these domain names work with nslookup but from my server they don't. This is causing me all kinds of problems.

Anyone else ever run into this problem?

  • Please provide the output of "ipconfig /all" from the client and the server. Also include the output of "nslookup" from the client and the server showing us the differences in behaviour. Without specific examples, we can only guess at what your problem really is. Help us to help you. :-) – Convict Nov 13 '09 at 7:47

You've probably checked this already, but are you pointing to the same DNS servers on your desktop as you are on your server?

Are these domains internal domains or external domains?

have you run nslookup with set debug=on?


Try using

dig +trace domain.com

From your (linux) command prompt on both machines. This will show where each machine is getting the data as it queries the root servers, and each delegated sub-server until it finds (or doesn't find) these domains.

It could be anything from an incorrect SOA to a DNS server blocking your requests for that domain.


Is your server running DNS service? What are the DNS setting of the server's network interfaces? Should be localhost. And DNS of your ISP should be set in forwarders.


You can occasionally run afoul of search lists. To eliminate that as a potential issue, terminate your lookup with a "."; i.e., nslookup www.example.com.

Additionally, double check that you're using the same nameservers on each box using ipconfig /all on a windows box or cat /etc/resolv.conf on a linux box.


Since this appears to be a windows question, what does "ipconfig" report? Does it list the DNS servers you expect to see? Do the client and server differ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.