DnsRequests¶
SCPI Commands
SENSe:DATA:MEASurement<MeasInstance>:DNSRequests:RCOunt
SENSe:DATA:MEASurement<MeasInstance>:DNSRequests
- class DnsRequests[source]
DnsRequests commands group definition. 2 total commands, 0 Sub-groups, 2 group commands
- class ValueStruct[source]
Structure for reading output parameters. Fields:
Reliability: int: See ‘Reliability Indicator’
Client_Ip: List[str]: String indicating the IP address of the client (DUT) that has sent the DNS request
Url: List[str]: String indicating the domain or application to be resolved
Ip: List[str]: String indicating the IP address or domain returned as answer to the DNS request
Timestamp: List[str]: Timestamp as string in the format ‘hh:mm:ss’
- get_rcount() → int[source]
# SCPI: SENSe:DATA:MEASurement<Instance>:DNSRequests:RCOunt value: int = driver.sense.data.measurement.dnsRequests.get_rcount()
Queries the number of already monitored DNS requests.
- return
req_count: Number of requests
- get_value() → ValueStruct[source]
# SCPI: SENSe:DATA:MEASurement<Instance>:DNSRequests value: ValueStruct = driver.sense.data.measurement.dnsRequests.get_value()
Queries information about the monitored DNS requests. After the reliability indicator, four results are returned for each DNS request: <Reliability>, {<ClientIP>, <URL>, <IP>, <Timestamp>}request 1, {…}request 2, … To query the number of monitored requests, see method RsCmwDau.Sense.Data.Measurement.DnsRequests.rcount.
- return
structure: for return value, see the help for ValueStruct structure arguments.