2.2.2.2.1 DNS_RPC_NAME

The DNS_RPC_NAME structure is used to specify an FQDN, a DNS label, or another string in an RPC buffer by the DNS server. See section 3.1.6.3 for the handling of this structure in the directory server.


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

cchNameLength

dnsName (variable)

...

cchNameLength (1 byte): The length, in bytes, of the string stored in the dnsName member. To represent an empty string, cchNameLength MUST be zero and dnsName MUST be empty. The length of this structure is always 4-byte aligned so there can be 0-3 bytes of padding at the end of this field. The pad bytes are not included in the cchNameLength count.

dnsName (variable): A UTF-8 string with length given by cchNameLength. The string MUST NOT be null-terminated. This string can represent a Fully qualified domain name (FQDN) or any other string.