You need to enable JavaScript to run this app.
TrafficRoute DNS Suite

TrafficRoute DNS Suite

Copy page
Download PDF
Method
getDnsResultForHostAsync
Copy page
Download PDF
getDnsResultForHostAsync
Definition​
​
(void)getHttpDnsResultForHostWithoutCacheAsync:(NSString*)host callback:(DnsCallback)callback​
​
The definition of the callback function is as follows:​
​
typedef void (^DnsCallback)(TTDnsExportResult* _Nonnull)​
​
Purpose​
Initiate a domain name resolution request, but do not block the execution of subsequent application code. When the parsing result is obtained, invoke the callbacks and pass the parsing result.​
Parameters​
  • host: Represents the domain name to be resolved.​
  • callback: Refers to a callback function whose input parameter is a TTDnsExportResult object containing the parsing result.​
Last updated: 2025.11.04 21:10:49