Solved

Windows 2000 Server DNS Issue

Posted on 2006-11-03
17
131 Views
Last Modified: 2010-04-13
Hi,

I have a Windows 2000 Server with no AD installed. Time to time, the nslookup start saying "can not find server name for address X.X.X.X. This problem goes away as soon as the server is restarted. Please advise.

Thanks,
Nauman.
0
Comment
Question by:nauman_ahmed
  • 7
  • 5
  • 2
  • +1
17 Comments
 
LVL 16

Expert Comment

by:kshays
ID: 17871939
Sounds like an issue with a reverse lookup zone in the DNS server.  I would look into your DNS servers settings and check the reverse lookup zone records.  Might just be a issue of issuing ipconfig /flushdns.

Kevin
0
 
LVL 7

Expert Comment

by:Chatable
ID: 17872778
Does the problem happen only with nslookup? Are you able to actually connect to remote computers via DNS?
By the way is your machine a DNS server?
0
 
LVL 25

Author Comment

by:nauman_ahmed
ID: 17874163
I can connect to the server remotely from any other machine. The server is not running any DNS server and the nslookup issue on the server itself: it fails to resolve the TCP servers added in TCP/IP settings and hence doing an nslookup for any domain from the server fails. I tried ipconfig /flushdns but it did not work. The problem goes away as soon as the server is restarted.

--Nauman
0
 
LVL 7

Expert Comment

by:Chatable
ID: 17874457
The problem you're describing is indeed odd because nslookup has its own implementation of the DNS protocol (it does not use the gethostbyname() system call). The fact that two completely unrelated implementations of DNS makes thing a bit weird.
Let try another approach: When it happens next, try nslookuping using a different DNS server. Use this command:
nslookup www.google.com 192.9.9.3
Does this work?
0
 
LVL 16

Expert Comment

by:kshays
ID: 17874758
Have you looked in the event logs to see if you are getting any errors?  When the problem goes away when you reboot is very odd.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17880357
As I'm sure you know nslookup reports an error if it can't reverse lookup the address of the dns server specified in it's tcpip properties.  It sounds simply like a comms issue, i.e. it can't comunicate with the dns servers you have defined -- are these are the ISP?

do as suggested above or

nslookup
server 158.43.128.1
www.yahoo.com.  (inc. the last period)

I would also suggest just some simple PINGs of the DNS servers you are using by IP address when it isn't working --in fact at that point can you PING anything on the internet (e.g. the above address I gave). Perhaps you lose the default gateway for some reason which is why you can get to the server from your other machines still?

Also might be worth checking the DNS client service and others haven't failed (and check the server event logs as suggested already)

Steve
0
 
LVL 25

Author Comment

by:nauman_ahmed
ID: 18019644
It is still happening. I think I may need to reinstall Windows. Thanks for your inputs.

--Nauman.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 18019750
Does the server have multiple network cards at all?  If so can you supply us output of ipconfig /all.  Did the above nslookup commands work or not when the comms had gone down btw?
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 25

Author Comment

by:nauman_ahmed
ID: 18020103
The server has two network cards: one has local IP and one has WAN IP. None of the nslookup command work in this case. Nothing is in the eventlog. This server has SMTP service installed and when nslookup is failed, none of the e-mails are delivered. I am installing a local DNS server to see if it solves the issue.

--Nauman.
0
 
LVL 43

Accepted Solution

by:
Steve Knight earned 500 total points
ID: 18020257
It may be down to default gateways.... do you have a default gateway defined on both NIC's?  If so try removing the one from your internal network, there should only ever be one.... that is why I requested the ipconfig /all to see but feel free to check yourself.

If so there is a function called dead gateway detection in Windows whereby if the default gateway becomes unavailable for some reason it will move onto a different default gateway and will not go back unless the other one fails.  This functionality can be turned off by a registry tweak if needed but still there should only be one DG -- use static routes for other internal subnets if needed, i.e.

route -p add 10.0.0.0 mask 255.0.0.0 10.0.0.1

to route all 10.x.x.x traffic to an internal router 10.0.0.1 which goes off to your other subnets.

Steve
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 18020270
0
 
LVL 25

Author Comment

by:nauman_ahmed
ID: 18572647
Thanks for the reply Steve. For one of the NIC, DHCP was enabled, I tried giving it a static IP. Lets see if it solves the issue.

Thanks,
Nauman.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 18573506
Wow that was a long time ago!

Good luck!

Steve
0
 
LVL 25

Author Comment

by:nauman_ahmed
ID: 18574384
yeah I know its been a long time :) We have not faced a lot of issue with the server since then...and I was not logging on to EE because of work...so yeah, lets see now :)

--Nauman.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 18731106
I would like to see the original questioner come back, i think I gave a logical answer to why this may happen but it may or not be correct in this case of course.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 18738023
Thanks for selecting my answer.... was that the issues in the end?
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

21 Experts available now in Live!

Get 1:1 Help Now