# std.Io.net.HostName: fix DNS resolution · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d3f0c460ecb0ca5b1ba9c57f443463e1f3f49012)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d3f0c460ecb0ca5b1ba9c57f443463e1f3f49012

Requested commit: d3f0c460ecb0ca5b1ba9c57f443463e1f3f49012

Commit: d3f0c460ecb0ca5b1ba9c57f443463e1f3f49012

Tree: 18c69f9c716f4278b685005fff1613b074b525b6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.net.HostName: fix DNS resolution

* merge conflict with changing behavior of takeDelimiterExclusive
* check bounds before adding to result array

```

## Parents

- [923a7bdd7e390c5dbb0fcf2686998180ba41cc88](https://git.cafe/gitcafe/zig/commit/923a7bdd7e390c5dbb0fcf2686998180ba41cc88?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d3f0c460ecb0ca5b1ba9c57f443463e1f3f49012?format=markdown)
