[dnssd] support forwarding DNS queries to platform upstream (#8668)

This commit adds a set of APsI for forwarding a DNS query to the
upstream DNS server via platform API and a posix platform
implementation.

This feature is disabled by default, and this PR adds a `dns server
upstream {enable|disable}` command CLI for enabling and disabling this
feature.

Tests will be added after ot-br-posix adds related support.
This commit is contained in:
Song GUO
2023-02-21 21:15:03 -08:00
committed by GitHub
parent c311b85cc9
commit 852d076f00
28 changed files with 1038 additions and 16 deletions
+1
View File
@@ -108,6 +108,7 @@ OT_CLANG_TIDY_BUILD_OPTS=(
'-DOT_DIAGNOSTIC=ON'
'-DOT_DNS_CLIENT=ON'
'-DOT_DNS_DSO=ON'
'-DOT_DNS_QUERY_UPSTREAM=ON'
'-DOT_DNSSD_SERVER=ON'
'-DOT_DUA=ON'
'-DOT_MLR=ON'