Skip to content

Allow an empty TXT record when using DNS-SD encoding? #8

Description

@EskoDijk

Current draft mentions that DNS-SD does not allow an empty TXT record

A variation may have the option of being represented by the empty string "". This is not allowed in the DNS-SD encoding, and instead the alternative variation string MUST always be used for DNS-SD.

However, an empty string is allowed - just use a single byte 0 in the TXT record as defined by https://datatracker.ietf.org/doc/html/rfc6763#autoid-13 which makes the TXT keys set empty.

Even if other TXT keys would be defined such as

mynicekey=hello world
abc=42

then the absence of a specific variation string implies that the default variation "" is used, I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions