2.2.2.2.2 DNS_COUNT_NAME

The DNS_COUNT_NAME structure is used to specify an FQDN in an LDAP message.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Length

LabelCount

RawName (variable)

...

Length (1 byte): The length, in bytes, of the string stored in the RawName member, including null termination. To represent an empty string, Length MUST be zero, LabelCount MUST be zero, and RawName MUST be empty.

LabelCount (1 byte): The count of DNS labels in the RawName member.

RawName (variable): A string containing an FQDN in which a 1-byte label length count for the subsequent label has been inserted before the first label and in place of each "." delimiter. The string MUST be null-terminated. The maximum length of the string, including the null terminator, is 256 bytes.