<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Wed, Feb 15, 2023, at 05:31, Aditya Sharma wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>We were thinking of an approach where we keep on serving the last known good FQDNs even after the TTL has expired (only when we are unable to communicate with the resolvers). For that, we need to intercept the DNS calls and maintain some kind of local cache. So, wanted to understand how we can extend systemd-resolved service to serve the purpose.<br></div></div></blockquote><div><br></div><div>systemd-resolved already has a cache, so the only thing you'd need to add is the ability to control whether records expire from the cache or continue to be served.<br></div><div><br></div></body></html>