carta
res_query(3) on Linux
The text a3e91c66a297, as Debian 8 (Jessie) shipped it.
resolver routines
res_query(3) on Linux now