DNS-SD Server

This module includes configuration variables for the DNS-SD server.

Summary

Macros

OPENTHREAD_CONFIG_DNSSD_DISCOVERY_PROXY_ENABLE 0
Define to 1 to enable DNS-SD Discovery Proxy support.
OPENTHREAD_CONFIG_DNSSD_QUERY_TIMEOUT 6000
Specifies the default wait time that DNS-SD Server waits for a query response (e.g.
OPENTHREAD_CONFIG_DNSSD_SERVER_BIND_UNSPECIFIED_NETIF 0
Define to 1 to bind DNS-SD server to unspecified interface, 0 to bind to Thread interface.
OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE 0
Define to 1 to enable DNS-SD Server support.
OPENTHREAD_CONFIG_DNSSD_SERVER_PORT 53
Define the DNS-SD Server port.
OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE 0
Define to 1 to enable upstream forwarding support.
OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_MOCK_PLAT_APIS_ENABLE 0
Define to 1 to add mock (empty) implementation of upstream query platform APIs.

Macros

OPENTHREAD_CONFIG_DNSSD_DISCOVERY_PROXY_ENABLE

 OPENTHREAD_CONFIG_DNSSD_DISCOVERY_PROXY_ENABLE 0

Define to 1 to enable DNS-SD Discovery Proxy support.

OPENTHREAD_CONFIG_DNSSD_QUERY_TIMEOUT

 OPENTHREAD_CONFIG_DNSSD_QUERY_TIMEOUT 6000

Specifies the default wait time that DNS-SD Server waits for a query response (e.g.

from Discovery Proxy).

OPENTHREAD_CONFIG_DNSSD_SERVER_BIND_UNSPECIFIED_NETIF

 OPENTHREAD_CONFIG_DNSSD_SERVER_BIND_UNSPECIFIED_NETIF 0

Define to 1 to bind DNS-SD server to unspecified interface, 0 to bind to Thread interface.

OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE

 OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE 0

Define to 1 to enable DNS-SD Server support.

OPENTHREAD_CONFIG_DNSSD_SERVER_PORT

 OPENTHREAD_CONFIG_DNSSD_SERVER_PORT 53

Define the DNS-SD Server port.

OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE

 OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE 0

Define to 1 to enable upstream forwarding support.

The platform MUST implement otPlatDnsStartUpstreamQuery and otPlatDnsCancelUpstreamQuery.

OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_MOCK_PLAT_APIS_ENABLE

 OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_MOCK_PLAT_APIS_ENABLE 0

Define to 1 to add mock (empty) implementation of upstream query platform APIs.

This is intended for generating code size report only and should not be used otherwise.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.