# otPlatDnssdAddressResolver Struct Reference

# otPlatDnssdAddressResolver


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

Represents an address resolver.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-resolver#structot_plat_dnssd_address_resolver_1a6b251a38e426568d8be8f5ece24d02c6` | `https://openthread.io/reference/group/plat-dns-sd#group__plat-dns-sd_1ga3b8b56615a8a4bfb1f618882be661e7f` The callback to report result. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-resolver#structot_plat_dnssd_address_resolver_1adff4e6da133b4695c62ab153d35ca4b2` | `const char *` The host name (e.g., "myhost"). MUST NOT contain domain name. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-resolver#structot_plat_dnssd_address_resolver_1a24003743d4ac82151972ad95de9993ed` | `uint32_t` The infrastructure network interface index. |

## Public attributes

### mCallback

```
otPlatDnssdAddressCallback otPlatDnssdAddressResolver::mCallback
```
The callback to report result.

### mHostName

```
const char * otPlatDnssdAddressResolver::mHostName
```
The host name (e.g., "myhost"). MUST NOT contain domain name.

### mInfraIfIndex

```
uint32_t otPlatDnssdAddressResolver::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).