Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 30013fc8 authored by Hungming Chen's avatar Hungming Chen
Browse files

dns_responder: Add an optional DNS header mapping to build a response

Currently, the DNS response is built from the registered hostname or
address mapping. The response header fields have been predefined mostly
and that may limit the test coverage indirectly.

An alternative way is to add an optional DNS header mapping to build
a response. The response could be built from a preconfigured DNS
header if necessary. That helps to extend the test coverage.

Test: cd packages/modules/DnsResolver && atest
Change-Id: Ib56ae7b076e8e1e9ebbbca187b66ee91643dd0b0
parent ba69fc1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment