-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Networking
Milestone
Description
Is your enhancement proposal related to a problem? Please describe.
Currently, dns-sd does not support
- domain enumeration (chapter 11)
- sub-types (chapter 7.2)
- service domains (chapter 7.2)
Items 2 and 3 deal with fully-qualified names (FQN's). Examples of FQN's that are unsupported are of the form:
<sub>._sub.<sn>._tcp.<servicedomain>.<parentdomain>.
or anything other than "local" for a <domain>, where
<domain> := <servicedomain>.<parentdomain>.
The struct dns_sd_rec actually has insufficient fields to represent all types of names.
Describe the solution you'd like
- 1 additional local "service domain", either configured from e.g. DHCP or via Kconfig
- remove the
proto,service, andinstancefields ofstruct dns_sd_rec - use only a
namefield andname_size,domainfield anddomain_size, andtextandtext_size - use accessor methods to extract the above values into callee-provided storage
- support domain enumeration via kconfig switch (ch 11)
- support all fully-qualified names described in ch 7.2
- an additional pass of helpful features from RFC 6763
Describe alternatives you've considered
Additional context
https://datatracker.ietf.org/doc/html/rfc6763
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Networking