-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
I want to be able to do automatic service discovery using DNS-SD over mDNS.
I would like to be able to use a more advanced hook than xApplicationDNSQueryHook
to be able to describe a more comprehensive set of DNS queries to provide responses to. Then DNS-SD could be supported on top of that.
For example:
/* Records necessary for DNS-SD */
const DNSRecordTable_t records[] = {
{dnsTYPE_PTR, .name ="service._udp.local", .domain="myname.service._udp.local"},
{dnsTYPE_SRV, .name ="myname.service._udp.local", .port = 5353, target="myname.local"},
{dnsTYPE_HOST_A, .name = "myname.local"}
};
BaseType_t xApplicationDNSQueryHook(DNSRecordTable_t const ** out_records, size_t* out_records_len) {
*out_records = records
*out_records_len = LEN(records);
return pdTRUE;
}
I am also happy to help deliver this feature.
This would serve LLMNR through the same mechanism.
evpopov and htibosch
Metadata
Metadata
Assignees
Labels
No labels