DnsInfo
DnsInfo with the following properties:
Property |
Type |
Description |
Example |
|---|---|---|---|
DnsQuery |
String |
The DNS query |
www.google.com |
DnsQueryLength |
Int |
The length of the DNS query |
100 |
DnsResponseIpAddressV4 |
Set of IPv4 addresses |
The A records in the DNS response |
216.58.201.67 |
DnsResponseIpAddressV6 |
Set of IPv6 addresses |
The AAAA records in the DNS response |
2001:db8:85a3:8131:4321:8a2e:370:7334 |
DnsResponseString |
Set of strings |
The NS, CNAME, PTR or TXT records in the DNS reponse |
mobile-google.com |
DnsResponseType |
Set of symbols |
The types of records present in the DNS response |
HINFO |
DnsResponsesLength |
Int |
The total length of the DNS reponse |
100 |
For property DnsResponseType, there is a pre-defined scope of values that can be used (case insensitive):
A |
NXT |
CDNSKEY |
NS |
EID |
OPENPGPKEY |
MD |
NIMLOC |
CSYNC |
MF |
SRV |
ZONEMD |
CNAME |
ATMA |
SPF |
SOA |
NAPTR |
UINFO |
MB |
KX |
UID |
MG |
CERT |
GID |
MR |
A6 |
UNSPEC |
NULL |
DNAME |
NID |
WKS |
SINK |
L32 |
PTR |
PT |
L64 |
HINFO |
PL |
LP |
MINFO |
DS |
EUI48 |
MX |
SSHFP |
EUI64 |
TXT |
IPSECKEY |
TKEY |
RP |
RRSIG |
TSIG |
AFSDB |
NSEC |
IXFR |
X25 |
DNSKEY |
AXFR |
ISDN |
DHCID |
MAILB |
RT |
NSEC3 |
MAILA |
NSAP |
NSEC3PARAM |
ANY |
NSAPPTR |
TLSA |
URI |
SIG |
SMIMEA |
CAA |
KEY |
HIP |
AVC |
PX |
NINFO |
DOA |
GPOS |
RKEY |
AMTRELAY |
AAAA |
TALINK |
TA |
LOC |
CDS |
DLV |
For more information on DnsResponseType values, see the Resource Record (RR) TYPEs.
Conditions supported for set types (Set of IPv4 addresses, Set of IPv6 addresses, Set of strings, Set of symbols) are listed in the Property types & Relations table under set of values.
Example
<rule> <definition> <operations> <operation type="DnsRequest"> <condition component="DnsInfo" condition="contains" property="DnsResponseType" value="CNAME" /> </operation> </operations> </definition> </rule> |
Supported operations
•DnsRequest