[GH-ISSUE #1898] Skips the v6 records searching while mapped the /etc/hosts rules #809

Open
opened 2026-03-16 00:20:04 +03:00 by kerem · 2 comments
Owner

Originally created by @scw00 on GitHub (Feb 28, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1898

Hi, I'm trying to resolve dns records from trust-dns with system config. but it always hangs for a while. I found , trust-dns is always searching v6 records even if mapped hosts rule and then failed.

Originally created by @scw00 on GitHub (Feb 28, 2023). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1898 Hi, I'm trying to resolve dns records from trust-dns with system config. but it always hangs for a while. I found , trust-dns is always searching v6 records even if mapped hosts rule and then failed.
Author
Owner

@bluejekyll commented on GitHub (Mar 31, 2023):

Can you please point to which resolution method you're calling?

<!-- gh-comment-id:1492196603 --> @bluejekyll commented on GitHub (Mar 31, 2023): Can you please point to which resolution method you're calling?
Author
Owner

@bluejekyll commented on GitHub (Mar 31, 2023):

We do have tests specifically for ipv6 here: https://github.com/bluejekyll/trust-dns/blob/main/crates/resolver/src/hosts.rs#L196

<!-- gh-comment-id:1492199057 --> @bluejekyll commented on GitHub (Mar 31, 2023): We do have tests specifically for ipv6 here: https://github.com/bluejekyll/trust-dns/blob/main/crates/resolver/src/hosts.rs#L196
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#809
No description provided.