[Feature Request] mDNS Service Discovery

Aperta
#1,284 26 commenti 2 reazioni 0 assegnatari Vedi su GitHub

@george-palmsens ci sta già lavorando.

Dal 11/3/2026.

  • #1326 di @george-palmsens — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c
Ambito
networking

Direzione di ricerca

The issue asks for a richer DNS query hook than xApplicationDNSQueryHook, so that DNS-SD (and LLMNR) can be built on it; the example record table shows the intended shape. Read the existing hook and how it answers queries before designing the new table format. Linked pull request #1326 is already open against this work, so check it before starting. Done means the table-driven hook answers the example PTR, SRV and A queries, which needs maintainer agreement on the design first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

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.

Lingua principale
C
Stelle
215
Fork
222
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FreeRTOS/FreeRTOS-Plus-TCP

Tutte le issue di FreeRTOS/FreeRTOS-Plus-TCP

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.