I'm running a Windows 2000 Advanced Server. I have IIS, DNS, and few
other services installed. My problem is that when I put a new Domain
Name (DomN from here on) into the DNS server, I can NOT ping locally
on the server right away.
Sometimes I add a DomN in DNS and everything works fine and I ping it
immediately. Other times I add a DomN and nothing pings. Then if I
wait like an hour or more it will start to ping correctly. The last
DomN I added did this exact case (nslookup worked, ping didn't). I
then tried about a couple of hours later, MAKING NO CHANGES TO DNS or
anything else, and ping worked.
What I'm doing is going to a 'Command Window' and using the 'ping' and
'nslookup' commands to verify information. I know the Mirosoft DNS
server is working, because as soon as I add a DomN I can go to a
command window and do a nslookup and get the correct response
(everytime). However if in that same window I try to ping the new DomN
added I get "Request timed out.".
Some experiments I have tried, which may help find answer.
1.) After adding DomN and problem happened, I rebooted the server.
When it came back up, and I logged back in, everything worked.
2.) Another time when problem occured, I went in the network card
properties, looked around, then clicked the "OK" buttons to get out.
This seemed to cause the network card to reinitialize (I saw a
momentary stop in traffic) and everything worked.
To me I think there has to be some settings in the Registry that can
effect the network card and any caching it may do. I'm guessing that
some registry value is telling the network to cache information. My
old NT4 server didn't do this, but I ran a DNS server that wasn't
microsoft.
The response I looking for is probably the registry settings I need to
change to get rid of this problem. They could be related to DNS (but
don't think so) or more likely to some settings about how the card
performs.
In case you want to know why this is such a BIG deal to me. Everytime
I add a new customer I immediately want to DNS the DomN and add their
web site. The problem is the DomN may not be in the InterNic until
later that day or next. But I need to have everything up and working.
I setup IIS to host the site, then I go and add FrontPage 2000
Extensions, finally I go to add users to the site for login. I found
the easist way to add users in through FrontPage 2000 Administrator,
which goes through the browser. However FrontPage 2000 Administration
works only buy using the DomN (hostname) associated with the web site.
So if I can't ping the DomN through a command window, a local browser
window won't find it either. Therefore, it can take me many hours
waiting until I finally get a new site added, when it should only take
a few minutes.
I have the SP3 insalled, and all the lastest patches. The network card
itself is a "Intel(R) PRO/100+ Server Adapter (PILA8470B)". Network
card Driver information. Driver Provider:INTEL Driver Date:2/25/2002
Driver Version:6.1.3.0
I remeber about two patches ago installing some updated network
driver, but this did NOT help solve the problem. I have 64 IPs bound
to the card. The DNS setting on the card is set to a local IP address,
while the backup DNS setting is another server. |
Request for Question Clarification by
sublime1-ga
on
14 Jan 2003 23:15 PST
s58smith...
Try this:
--------------------------
1. Start Registry Editor (Regedit.exe).
2. Locate the MaxCacheEntryTtlLimit value under the following
registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters
3. On the Edit menu, click Modify. Type 1, and then click OK.
4. Quit Registry Editor.
Note that this setting does not really disable the client-side DNS
cache. Instead, it lowers the Maximum TTL value within the client's
DNS cache to one second. This gives the appearance that the
client-side DNS cache has been disabled. Each sequential ping results
in a DNS query to the DNS server.
From Microsoft's site:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q245437
--------------------------
Let me know the results. You can export the existing parameters prior
to making the change, and restore them if it doesn't work. If you're
not clear on how to do that, let me know, and I'll elaborate.
sublime1-ga
|
Clarification of Question by
s58smith-ga
on
16 Jan 2003 07:50 PST
I rebooted server and thinngs seemed to work fine. Then after about 10
minutes things reverted. I actually changed NOTHING, and suddenly my
test didn't work.
I setup a DomN "stupidtest.com". Before I made DNS addition.
C:\>ping stupidtest.com
Pinging stupidtest.com [216.187.118.221] with 32 bytes of data:
Reply from 216.187.118.221: bytes=32 time=47ms TTL=52
Reply from 216.187.118.221: bytes=32 time=32ms TTL=52
Reply from 216.187.118.221: bytes=32 time=32ms TTL=52
Reply from 216.187.118.221: bytes=32 time=32ms TTL=52
Ping statistics for 216.187.118.221:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 32ms, Maximum = 47ms, Average = 35ms
C:\>
Then I added a DomN in my DNS server for "stupidtest.com". After I did
this it seemed to work fine.
C:\>ping stupidtest.com
Pinging stupidtest.com [64.242.37.206] with 32 bytes of data:
Reply from 64.242.37.206: bytes=32 time<10ms TTL=128
Reply from 64.242.37.206: bytes=32 time<10ms TTL=128
Reply from 64.242.37.206: bytes=32 time<10ms TTL=128
Reply from 64.242.37.206: bytes=32 time<10ms TTL=128
Ping statistics for 64.242.37.206:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\>
****************
I then and did some other work and came back about 10 minutes later. I
had NOT removed the DomN from DNS server (which is what I coming back
to do) and decided to do another ping. This time it went to wrong
address.
C:\>ping stupidtest.com
Pinging stupidtest.com [216.187.118.221] with 32 bytes of data:
Reply from 216.187.118.221: bytes=32 time=46ms TTL=52
Reply from 216.187.118.221: bytes=32 time=33ms TTL=52
Reply from 216.187.118.221: bytes=32 time=32ms TTL=52
Reply from 216.187.118.221: bytes=32 time=32ms TTL=52
Ping statistics for 216.187.118.221:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 32ms, Maximum = 46ms, Average = 36ms
C:\>
*****************
Now the solution:
What I did was to eliminte my secondary DNS server entry in network
card properties. This forced only local DNS server as the available
DNS server to the card. The secondary DNS server was another machine
was didn't get all my DNS changes. (So didn't know I built that
"stupidtest.com".)
Somehow the DNS order on the card wasn't being obeyed. Now I shouldn't
have had to change the DNS entries on the card, since according to
what I found the order (Primary, Secondary) is supposed to work. But
once this was done everything has continued to work. Your registry
setting then worked and continued to work the rest of the night. Just
means that if my DNS service ever fails I won't go anywhere on that
Win2K server.
So for now I'll call this done. Not the perfect solution I wanted, but
then I'm dealing with Micro$oft crap.
Post an answer, and I'll close this.
|