How to compile and use 'nscd'

이병욱 nimdrak@naver.com
Sun Jul 24 07:57:06 GMT 2022


I found nscd's dafault ttl should be 15 seconds
​
because CACHE_PRUNE_INTERVAL is declared as 15.
​
But it seems hard to modify it and compile nscd and use the customed nscd in my Centos 7.9.
​
I want to see how nscd works when CACHE_PRUNE_INTERVAL is 1 because I try to use DNS round robin at below environments.
​
- dns A record www.server.com with 10.1.1.1, 10.1.1.2 with dns ttl 1 seconds.
- client server with customed nscd, send a request to www.server.com
- two backend server indicated by 10.1.1.1, 10.1.1.2
​
Is it possible to use the customed nscd?
​
Sincerely,
Nimdrak


More information about the Libc-help mailing list