2.2.3.2.2.1 DNS ADDR

The DNS ADDR structure is an IPv4 or IPv6 address used by DNS_ADDR MaxSa field (section 2.2.3.2.2).


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

Address Family

Port Number

IPv4 Address

IPv6 Address (16 bytes)

...

...

Padding

...

Address Family (2 bytes): This MUST be set to 0x0002 if this is an IPv4 address or 0x0017 if this is an IPv6 address.

Port Number (2 bytes): Senders MUST set this to zero, and receivers MUST ignore it.

IPv4 Address (4 bytes): An IPv4 address in network byte order value for the host pointed to by DNS_ADDR structure.

IPv6 Address (16 bytes): An IPv6 address in network byte order value for the host pointed to by DNS_ADDR structure.

Padding (8 bytes): Senders MUST set this to zero, and receivers MUST ignore it.