# otPlatDnssdSrvResolver Struct Reference

# otPlatDnssdSrvResolver


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

Represents an SRV service resolver.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-dnssd-srv-resolver#structot_plat_dnssd_srv_resolver_1a8d1de7659060de14bdb4c1c926d38bf0` | `https://openthread.io/reference/group/plat-dns-sd#group__plat-dns-sd_1ga1fb602e340f9b18bf93ad79d629eb7ef` The callback to report result. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-srv-resolver#structot_plat_dnssd_srv_resolver_1ab025649a6a800aa64835c9d583b5a8cb` | `uint32_t` The infrastructure network interface index. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-srv-resolver#structot_plat_dnssd_srv_resolver_1a96ca76ab14e8731a70da0dd36ff8d4bb` | `const char *` The service instance label. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-srv-resolver#structot_plat_dnssd_srv_resolver_1ae5a95316dc343d1d4c622bd30f882b31` | `const char *` The service type. |

## Public attributes

### mCallback

```
otPlatDnssdSrvCallback otPlatDnssdSrvResolver::mCallback
```
The callback to report result.

### mInfraIfIndex

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

### mServiceInstance

```
const char * otPlatDnssdSrvResolver::mServiceInstance
```
The service instance label.

### mServiceType

```
const char * otPlatDnssdSrvResolver::mServiceType
```
The service type.

## 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).