# Function command::object::host_pattern_ok

> A DNS name, optionally with one leading `*.` label: letters, digits and `-`, at least two labels, ≤ 253 bytes, lower case.

`zaun_community_protocol::command::object::host_pattern_ok` · Function

```rust
pub fn host_pattern_ok(host: &str) -> bool
```

A DNS name, optionally with one leading `*.` label: letters, digits and `-`, at least two
labels, ≤ 253 bytes, lower case.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/bot/check/fn.host_pattern_ok.html)
