域名系统('dns')的详细信息


当 performanceEntry.type 等于 'dns' 时,则 performanceEntry.detail 属性将是一个包含额外信息的 <Object>。

如果 performanceEntry.name 等于 lookup,则 detail 将包含以下属性:hostname、family、hints、verbatim、addresses。

如果 performanceEntry.name 等于 lookupService,则 detail 将包含以下属性:host、port、hostname、service。

如果 performanceEntry.name 等于 queryxxx 或 getHostByAddr,则 detail 将包含以下属性:host、ttl、result。 result 的值与 queryxxx 或 getHostByAddr 的结果相同。

When performanceEntry.type is equal to 'dns', the performanceEntry.detail property will be an <Object> containing additional information.

If performanceEntry.name is equal to lookup, the detail will contain the following properties: hostname, family, hints, verbatim, addresses.

If performanceEntry.name is equal to lookupService, the detail will contain the following properties: host, port, hostname, service.

If performanceEntry.name is equal to queryxxx or getHostByAddr, the detail will contain the following properties: host, ttl, result. The value of result is same as the result of queryxxx or getHostByAddr.