ping, host, nslookup, and dig, at least, do DNS lookups only, and do not use the (default) libc resolver.
ping, host, nslookup, and dig, at least, do DNS lookups only, and do not use the (default) libc resolver.