Thread (1 message) 1 message, 1 author, 2020-05-19

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

From: Florian Weimer <hidden>
Date: 2020-05-19 14:18:05
Also in: ceph-devel, keyrings, linux-cifs, linux-nfs, lkml

* David Howells:
Fix this to apply a default TTL of 10mins in the event that we haven't got
one.  This can be configured in /etc/keyutils/key.dns_resolver.conf by
adding the line:

	default_ttl: <number-of-seconds>

to the file.
If the name resolution is not needed continuously, but only for the
connection attempt, I suggest to use a much shorter TTL, like five
seconds or so.

I'm worried that if the implied TTL is too long, some system
administrators will have to figure out how to invalidate the DNS cache.

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help