[GH-ISSUE #455] Different dns lookup result for same host #491

Closed
opened 2026-03-15 22:46:20 +03:00 by kerem · 6 comments
Owner

Originally created by @sintanial on GitHub (May 11, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/455

Sometimes trust_dns_resolver resolve two different result

For example i try to resolve host www.kinopoisk.ru
first result is only ipv6 LookupIp(Lookup { rdatas: [AAAA(2a02:6b8::2:105)] })
after 1 second, i send another request to lookup, and
second result is only ipv4 LookupIp(Lookup { rdatas: [A(87.250.251.105), A(213.180.193.105)] })

Originally created by @sintanial on GitHub (May 11, 2018). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/455 Sometimes trust_dns_resolver resolve two different result For example i try to resolve host ```www.kinopoisk.ru``` first result is only ipv6 ```LookupIp(Lookup { rdatas: [AAAA(2a02:6b8::2:105)] })``` after 1 second, i send another request to lookup, and second result is only ipv4 ```LookupIp(Lookup { rdatas: [A(87.250.251.105), A(213.180.193.105)] })```
kerem 2026-03-15 22:46:20 +03:00
Author
Owner

@bluejekyll commented on GitHub (May 11, 2018):

Hm, I wonder is this is related to the other issue you filed. I have seen this before when the upstream Resolver’s Cache hasn’t been warmed, it will sometimes flip like this until it caches both record types.

Do you see this issue continually? Or is it after any prolonged periods?

<!-- gh-comment-id:388377578 --> @bluejekyll commented on GitHub (May 11, 2018): Hm, I wonder is this is related to the other issue you filed. I have seen this before when the upstream Resolver’s Cache hasn’t been warmed, it will sometimes flip like this until it caches both record types. Do you see this issue continually? Or is it after any prolonged periods?
Author
Owner

@bluejekyll commented on GitHub (May 14, 2018):

I'm hoping this is an artifact of #454

<!-- gh-comment-id:388973706 --> @bluejekyll commented on GitHub (May 14, 2018): I'm hoping this is an artifact of #454
Author
Owner

@bluejekyll commented on GitHub (May 20, 2018):

@sintanial, are you still seeing this issue with the new release and other changes?

<!-- gh-comment-id:390486285 --> @bluejekyll commented on GitHub (May 20, 2018): @sintanial, are you still seeing this issue with the new release and other changes?
Author
Owner

@sintanial commented on GitHub (May 31, 2018):

@bluejekyll hello, i will try to test it today and write result ;)

<!-- gh-comment-id:393464777 --> @sintanial commented on GitHub (May 31, 2018): @bluejekyll hello, i will try to test it today and write result ;)
Author
Owner

@sintanial commented on GitHub (Jun 2, 2018):

Works perfect, thx for fix ;) very nice library

<!-- gh-comment-id:394110344 --> @sintanial commented on GitHub (Jun 2, 2018): Works perfect, thx for fix ;) very nice library
Author
Owner

@bluejekyll commented on GitHub (Jun 2, 2018):

Awesome! Glad to hear it.

<!-- gh-comment-id:394115575 --> @bluejekyll commented on GitHub (Jun 2, 2018): Awesome! Glad to hear it.
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#491
No description provided.