systemd should just call getdns, along with its other lookup methods. i regret that bind9 lacked something like this, and i applaud the team who did it later in a multi-vendor way with a bsd-style license. https://getdnsapi.net/ vixie