# otPlatDnssdRecordQuerier Struct Reference

# otPlatDnssdRecordQuerier


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

Represents a record querier.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-dnssd-record-querier#structot_plat_dnssd_record_querier_1aa57728fb949a0b789eb048e764ec9f71` | `https://openthread.io/reference/group/plat-dns-sd#group__plat-dns-sd_1ga32409833ea4a869e150588038fd2e37e` The callback to report result. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-record-querier#structot_plat_dnssd_record_querier_1a65aac12386c7ad92dfdc82481551ac5b` | `const char *` The first label of the name to be queried. MUST NOT be NULL. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-record-querier#structot_plat_dnssd_record_querier_1a88b6a1da52191c6027febe500d307b35` | `uint32_t` The infrastructure network interface index. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-record-querier#structot_plat_dnssd_record_querier_1a79637b92e3d57cf30459a9a9b3dc9b84` | `const char *` The rest of name labels, excluding domain name. Can be NULL. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-record-querier#structot_plat_dnssd_record_querier_1a6e8ecd0f936147d8188e1880ff18f2a9` | `uint16_t` The record type to query. |

## Public attributes

### mCallback

```
otPlatDnssdRecordCallback otPlatDnssdRecordQuerier::mCallback
```
The callback to report result.

### mFirstLabel

```
const char * otPlatDnssdRecordQuerier::mFirstLabel
```
The first label of the name to be queried. MUST NOT be NULL.

### mInfraIfIndex

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

### mNextLabels

```
const char * otPlatDnssdRecordQuerier::mNextLabels
```
The rest of name labels, excluding domain name. Can be NULL.

### mRecordType

```
uint16_t otPlatDnssdRecordQuerier::mRecordType
```
The record type to query.

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