Windows XP/7 Clients deleting records from local cache before TTL expiration


i think title speaks itself.  we have round robin setup 2 proprietary web servers balance load between them.  we have set ttl of records 8 hours, yet clients lose these records after 15 minutes , consequently query server record again.  this problem because servers hand out stateful web services.  when user gets record "a" , begins working, when client loses record cache , receives record "b", must re-login page , begin work anew.  

i have setup powershell scripts monitor dns cache , log ttl of given resource record.  in every case of monitoring, record close ttl expiring.  

is there i'm missing shining right in face?

hi

how did set local cache ttl?

if ttl value in dns answer record exceeds value of entry in local ttl, ignored, , dns client sets ttl value value of entry.

to set caching time on client computer:
  1. start registry editor (regedit.exe).
  2. locate , click following key in registry:
    hkey_local_machine\system\currentcontrolset\services\dnscache\parameters
  3. on the edit menu, point to new , click dword value, , add following registry values:
    value name:
    maxcachettl

    data type: reg_dword
    default value: 86400 seconds
    value data: if lower maximum ttl value in client's dns cache 1 second, gives appearance client-side dns cache has been disabled.

renato kurti ccna,ccnp security,ccai,mcp,mcts,mcitp:ea




Windows Server  >  Network Infrastructure Servers



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2