# otPlatDnssdAddressResult Struct Reference

# otPlatDnssdAddressResult


`#include <openthread/platform/dnssd.h>`

Represents address resolver result.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-result#structot_plat_dnssd_address_result_1a80a3615e8123c4d6f69ca06a7b045f23` | `const https://openthread.io/reference/struct/ot-plat-dnssd-address-and-ttl *` Array of host addresses and their TTL. Can be NULL if empty. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-result#structot_plat_dnssd_address_result_1a3d3cd2978eeb4f098637a2a8c5b166e3` | `uint16_t` Number of entries in `mAddresses` array. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-result#structot_plat_dnssd_address_result_1a3aa251f0afee7297f5d2053934db640e` | `const char *` The host name. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-result#structot_plat_dnssd_address_result_1a028f8370b53833d1cce56f3db43bfe4f` | `uint32_t` The infrastructure network interface index. |

## Public attributes

### mAddresses

```
const otPlatDnssdAddressAndTtl * otPlatDnssdAddressResult::mAddresses
```
Array of host addresses and their TTL. Can be NULL if empty.

### mAddressesLength

```
uint16_t otPlatDnssdAddressResult::mAddressesLength
```
Number of entries in `mAddresses` array.

### mHostName

```
const char * otPlatDnssdAddressResult::mHostName
```
The host name.

### mInfraIfIndex

```
uint32_t otPlatDnssdAddressResult::mInfraIfIndex
```
The infrastructure network interface index.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).