# otMdnsCacheInfo Struct Reference

# otMdnsCacheInfo


`#include <openthread/mdns.h>`

Represents additional information about a browser/resolver and its cached results.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-mdns-cache-info#structot_mdns_cache_info_1addc4977ee4f94d5756a3c76f33464d16` | `bool` Whether there is any cached results. |
| `https://openthread.io/reference/struct/ot-mdns-cache-info#structot_mdns_cache_info_1a04d4a5a94657ff320798c0845291ce46` | `bool` Whether this is an active browser/resolver vs an opportunistic cached one. |

## Public attributes

### mHasCachedResults

```
bool otMdnsCacheInfo::mHasCachedResults
```
Whether there is any cached results.

### mIsActive

```
bool otMdnsCacheInfo::mIsActive
```
Whether this is an active browser/resolver vs an opportunistic cached one.

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