[GH-ISSUE #981] ProtoError when calling lookup_ip on some IPv6 addresses #583

Closed
opened 2026-03-15 23:16:46 +03:00 by kerem · 1 comment
Owner

Originally created by @zonyitoo on GitHub (Jan 4, 2020).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/981

I saw some error logs in my project:

Failed to resolve [2001:b28:f23f:f005::a], dns resolve error: proto error

Why? This address should be a valid IPv6 address.

Originally created by @zonyitoo on GitHub (Jan 4, 2020). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/981 I saw some error logs in my project: ``` Failed to resolve [2001:b28:f23f:f005::a], dns resolve error: proto error ``` Why? This address should be a valid IPv6 address.
kerem closed this issue 2026-03-15 23:16:51 +03:00
Author
Owner

@zonyitoo commented on GitHub (Jan 4, 2020):

Ah, I know why. IPv6 address without port shouldn't be wrapped in [..]

<!-- gh-comment-id:570794261 --> @zonyitoo commented on GitHub (Jan 4, 2020): Ah, I know why. IPv6 address without port shouldn't be wrapped in `[..]`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#583
No description provided.