dnsproxy: send a response including queries 75/232175/1
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 29 Apr 2020 02:30:01 +0000 (11:30 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 29 Apr 2020 02:30:12 +0000 (11:30 +0900)
commit2b88c43eaf88a11793496ea840d33407603113e1
treecb2c526768d8734a2021837757c6c3b62f9b6024
parent5d602b3212b4d107bd8706357c89e79ebbcf0e70
dnsproxy: send a response including queries

This is revert patch of https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=d74bb4a97224b6382ae2f542fe3751b1904e9b2e

Some DNS API checks a query field of DNS response to verify the response.
So, DNS resolving delay is often caused in case of DNS error.
This patch makes dnsproxy send the 'whole' packet.

Change-Id: I21cd0d86ef132d8c1eadbf93e192187112191326
packaging/connman.spec
src/dnsproxy.c