Enzo Matsumiya <ematsumiya@xxxxxxx> writes: > Currently, key.dns_resolver uses getaddrinfo() to resolve names, which > doesn't contain the TTL for the record, hence *always* returns 0 to cifs.ko. > This patch is just a way to provide some flexibility to the user, in > case they don't want to use the currently-always-fixed 600s. It is not limited to key.dns_resolver. The user is free to choose whatever program he/she wants to be upcalled for dns_resolver key. For instance, some distros might still be using cifs.upcall(8) that actually set record TTL, thus making it impossible for the user to change default via /proc/fs/cifs/dns_interval.