@dbauer@tykling Why? It is not a real pure DNS client, as it will happily use content of /etc/resolv.conf for search lists and what not. It is also FAR behind in terms of pure DNS features, like EDNS. Recent dig do also have DoT / DoH support. More importantly: the authors of it tell you it is deprecated.
@dbauer@tykling Testing local DNS config (or I will say "local resolution config" because names can be resolved in many ways, static /etc/hosts being one) is related but slightly different from testing DNS (purely) by doing DNS queries. To test local resolution config I would advise more towards using `getent ahosts` or `resolvectll`. Or any language piggybacking `gethostbyname` and similar libc endpoints.