# otPlatDnssdAddressAndTtl Struct Reference

# otPlatDnssdAddressAndTtl


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

Represents a discovered host address and its TTL.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-and-ttl#structot_plat_dnssd_address_and_ttl_1a5092c34f134ca7c8ce7de6a542dbd842` | `https://openthread.io/reference/struct/ot-ip6-address` The IPv6 address. For IPv4 address the IPv4-mapped IPv6 address format is used. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-address-and-ttl#structot_plat_dnssd_address_and_ttl_1a9b175ee57941f6b00907aa797e67ed63` | `uint32_t` The TTL in seconds. |

## Public attributes

### mAddress

```
otIp6Address otPlatDnssdAddressAndTtl::mAddress
```
The IPv6 address. For IPv4 address the IPv4-mapped IPv6 address format is used.

### mTtl

```
uint32_t otPlatDnssdAddressAndTtl::mTtl
```
The 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).