I have an application which frequently queries the same domain name a few times every second, but may then back off for a minute or so afterwards before starting the cycle again. The DNS resolution is starting to become a bottleneck with the standard systemd resolved setup as the cache ttl is too low it seems.
I'm running Ubuntu 18.04 and I've seen I can potential use unbind, bind, dnsmasq but I'm unsure which is good to be using in my situation? Along with steps for the install.
I'm really just after the cache mechanism as I know the endpoint isnt going to be chaning frequently.