DNS Memory consumption on Windows 2008 R2 Print E-mail
Windows

Windows-Server-2008-R2Q. I did a fresh install of Windows 2008 R2 and my DNS memory consumption is going through the roof. If I reboot, it's ok briefly, but then it goes up again. How can I stop it?

A. There are a lot of discussions about DNS high memory utilization on Windows 2008 R2 floating around. A lot of them point to disabling EDNS, which does not decrease the memory usage. The real problem is in fact due to the ports that DNS opens up: 2500 UDP IPv4 and 2500 UDP IPv6. This is a nice and round number for a busy production DNS server, however, for an internal DNS in a small office this is way too much.

To decrease the number of open ports, run the following command. For an internal DNS, with about 20 people in the office 100 ports is more than enough:

Dnscmd /Config /SocketPoolSize 100

Once command executed, restart DNS service - memory consumption should decrease.

You can also view how many ports you have open:

Dnscmd /Info /SocketPoolSize

 

 

Last Updated on Wednesday, 16 November 2011 08:56
 
Comments (3)
Worked
3 Thursday, 22 December 2011 08:27
Chad
Nice article - thanks!
Thanks.
2 Tuesday, 22 November 2011 07:22
K
If it wasn't for AD I wouldn't use it. Plenty of great alternatives. Yes, RAM is cheap, but I'm running things in VM and consuming resources for no reason is not acceptable.
Worked!
1 Saturday, 19 November 2011 12:02
Jason
Thanks so much! It worked like a charm.
I don't understand this - I have a DNS server running on my Tomato router, with 16 megs in total - and it's fine.
Windows 2008 R2 - 380megs!

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
yvComment v.1.24.0