# otDnssdHostInfo Struct Reference

# otDnssdHostInfo


`#include <openthread/dnssd_server.h>`

Represents information of a discovered host for a DNS-SD query.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-dnssd-host-info#structot_dnssd_host_info_1acd57e6cc52db2d73176ae5e9e2b03a1d` | `uint8_t` Number of host IPv6 addresses. |
| `https://openthread.io/reference/struct/ot-dnssd-host-info#structot_dnssd_host_info_1a3dbc2d41368b6fb7c0de249e4efa18ab` | `const https://openthread.io/reference/struct/ot-ip6-address *` Host IPv6 addresses. |
| `https://openthread.io/reference/struct/ot-dnssd-host-info#structot_dnssd_host_info_1a18995d35d15e15009896250b99763a7f` | `uint32_t` Service TTL (in seconds). |

## Public attributes

### mAddressNum

```
uint8_t otDnssdHostInfo::mAddressNum
```
Number of host IPv6 addresses.

### mAddresses

```
const otIp6Address * otDnssdHostInfo::mAddresses
```
Host IPv6 addresses.

### mTtl

```
uint32_t otDnssdHostInfo::mTtl
```
Service TTL (in seconds).

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