Product Documentation

DNS_PROTOCOL_T

Jun 14, 2016

Models the DNS message types.

This topic lists the expressions that are provided by this class.

NEW_RESPONSE

Creates an empty DNS response based on request header.

Returns: text_t

NEW_RESPONSE (bool_at AA, bool_at TC, dns_rcode_e rcode)

Creates a new empty DNS response based on the given parameters.

Parameters (expressions not allowed):

AA - Authoritative Answer flag

TC - Truncated flag

rcode - Retrun Code

Returns: text_t

NEW_RRSET_AAAA (text_t iplist, uint ttl)

Creates a new RR set with the given ipv6 address and ttl parameters.

Parameters (expressions not allowed):

iplist - Comma separated IPv6 address list

ttl - Time To Live

Returns: text_t

NEW_RRSET_A (text_t iplist, uint ttl)

Creates a new RR set with the given ipv4 address and ttl parameters.

Parameters (expressions not allowed):

iplist - Comma separated IP address list

ttl - Time To Live

Returns: text_t

REQ

Operates on DNS Request.

Returns: dns_req_t

RES

Operates on DNS Response.

Returns: dns_res_t

RR

Operates on DNS Resource Record(RR).

Returns: dns_rr_t