DnsHeader

DnsHeader
DnsHeader
JSON Example
{
    "address": "string",
    "address_type": "string",
    "message_type": "string"
}
string As hostname-or-ip As hostname-or-ip
address
Optional

This is used to define what is being asked or responded.

string
address_type
Optional
Constraints: default: V4

This is used to specify the type of the address. V4 - The address provided is an IPv4 domain name/IP address, the Type in query or response will be A V6 - The address provided is an IPv6 domain name/IP address, the Type in query or response will be AAAA

Possible values are : V4, V6,
string
message_type
Optional
Constraints: default: QUERY

Specifies the message type whether it is a query or a response.

Possible values are : QUERY, RESPONSE,