-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"not reached" panic in server.go #25
Comments
for what it's worth I got it to work again by rolling dns back to 9b74e1b (and radix to the version from September 4). |
[ Quoting notifications@github.com in "Re: [dns] "not reached" panic in se..." ]
Yeah. I will introduce some versioning in both radix and godns. So that Thanks for the report though. Regards,
|
[ Quoting notifications@github.com in "[dns] "not reached" panic in server..." ]
No, the panic can still be hit. It must be a 'return nil'. It is triggered if
The biggest stuff (axfr, signing, radix updates: Next() and Prev()) is now Best way forward is to check/run the current code, stabelize that a bit more (if Regards,
|
I should have made a separate ticket or email about the versioning thing. I don't want to discourage you iterating on the library. There are so few users now, so I'd rather just you make it better-better-better. For the panic: So it's crashing because it's listening and then getting a query for a "unknown" domain because the zones aren't loaded yet? (I do the listening and the loading in separate goroutines). That sounds crazy and glancing at the git diff's I don't see how/when that changed. The desired behavior (IMO) is to just return SERVFAIL if the server doesn't know what to do with the request. I'd rather have my servers return SERVFAIL quickly so the client can try another than having it timeout. |
[ Quoting notifications@github.com in "Re: [dns] "not reached" panic in se..." ]
The panic is now gone, so it will return servfail if the zone's name isn't
it does what you think it should do :-) To ellaborate a bit:
grtz Miek Regards,
|
Thank you for fixing it! I saw the fix this morning and I am building with the latest dns package again now. |
Since upgrading to the latest version some of my boxes are crashing with this error. Looking at the code it seems impossible, so not sure what's going on. I wish there was an easy way to know exactly which version of the dns package is included or otherwise a better way to manage the package dependencies. :-/
The text was updated successfully, but these errors were encountered: