Uh oh!
There was an error while loading. Please reload this page.
Handle RCode::ServFail from nameserver response - #26
Conversation
BobSilent
commented
Nov 7, 2023
@hsbt how can we get this merged? |
hsbt
commented
Nov 7, 2023
Can you add test for this at least? |
BobSilent
commented
Nov 14, 2023
Sure i will do so (or at least will give it a try - I am not a ruby pro 😉) |
048a670 to
b66db3bCompareb66db3b to
f53cea1CompareBobSilent
commented
Nov 15, 2023
@hsbt please have a look at the added test case. |
BobSilent
commented
Nov 30, 2023
@hsbt did you had a chance to look into this? |
Uh oh!
There was an error while loading. Please reload this page.
BobSilent
commented
Dec 14, 2023
hanazuki
commented
Dec 14, 2023
I have examined the logic but don't know if this works with TCP fallback. I'm thinking of a situation as follows:
In this case, it is expected that:
IIUC, the proposed implementation will:
To make this work properly, maybe we have to reset the requester before whenRCode::ServFailifRequester::TCP === requesterrequester.closerequester=nil# next iteration assigns new TCP requesterendnextSorry if I'm wrong. I feel confused 😵 . |
I found this was not a sufficient solution. Please forget about it. We also need to think of what should happen if all of the nameservers return ServFail (This is the expected result when the record set has a bogus DNSSEC signature). Line 1149 in 22153c2 Resolv::DNS::Config#resolv, which conducts retrying. |
Fixes#23
Try next nameserver if current nameserver response is
RCode::ServFail