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


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

如果 performanceEntry.name 等于 lookup,则 detail 将包含以下属性:hostnamefamilyhintsverbatimaddresses

如果 performanceEntry.name 等于 lookupService,则 detail 将包含以下属性:hostporthostnameservice

如果 performanceEntry.name 等于 queryxxxgetHostByAddr,则 detail 将包含以下属性:hostttlresultresult 的值与 queryxxxgetHostByAddr 的结果相同。

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.