+6
−109
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
There's already a function res_pquery() which can replace with dump_query() for more detailed logs. Logs from dump_query(): resolv : dump_query: RECURSIVE google.com (A) Logs from res_pquery(): resolv : ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16075 resolv : ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 resolv : ;; google.com, type = A, class = IN Bug: 130686826 Test: debugging logs were printed correctly. Change-Id: I6be7da098a4f46708b35af9539671a4428840f44