Caching and DNS Round Robin - TechRepublic
General discussion
February 20, 2003 at 12:07 AM
patrick.bisaillon

Caching and DNS Round Robin

by patrick.bisaillon . Updated 23 years, 4 months ago

The config:

I have 1 web server that contacts 3 COM+ application servers. I am trying to load balance the connections to the COM+ servers using DNS round robin. I have entered the following entries in my DNS:

comserver IN A 10.94.11.201 with 1 sec TTL
comserver IN A 10.94.11.202 with 1 sec TTL
comserver IN A 10.94.11.203 with 1 sec TTL

Round robin is enabled on the Windows 2000 DNS server. The Windows 2000 web server that contacts the WIndows 2000 comservers is on the same logical subnet (10.94.11.0).

I have disabled local cache on the Web server using the following registry key:
LCL_MCHN \ SYSTEM \ CurrentControlSet \ Services \ Dnscache \ Parameters \ MaxCacheEntryTtlLimit = 1

The problem:
DNS round robin works fine if I go around my network and ping ‘comserver’. However, from the web server if I ping ‘comserver’ the round robin DNS sends back the IP address of the next comserver listed for round robin but then the web server is stuck with this address. Even though the web server’s cache is set to 1 sec therefore it queries the DNS server for each request AND ipconfig /displaydns shows only localhost, it always gets the same IP address.

Any idea?

Patrick

This discussion is locked

All Comments