Title: SimpleResolver fails when UPDATE response has ZOCOUNT equals to 0. · Issue #322 · dnsjava/dnsjava · GitHub
Open Graph Title: SimpleResolver fails when UPDATE response has ZOCOUNT equals to 0. · Issue #322 · dnsjava/dnsjava
X Title: SimpleResolver fails when UPDATE response has ZOCOUNT equals to 0. · Issue #322 · dnsjava/dnsjava
Description: In dnsjava 3.5.3, sending DDNS update to a server that returns NOTIMP with ZOCOUNT=0 results in NPE at SimpleResolver:406 because response.getQuestion() is null. #277 "fixes" that by considering the case an "invalid message", but that in...
Open Graph Description: In dnsjava 3.5.3, sending DDNS update to a server that returns NOTIMP with ZOCOUNT=0 results in NPE at SimpleResolver:406 because response.getQuestion() is null. #277 "fixes" that by considering th...
X Description: In dnsjava 3.5.3, sending DDNS update to a server that returns NOTIMP with ZOCOUNT=0 results in NPE at SimpleResolver:406 because response.getQuestion() is null. #277 "fixes" that by cons...
Opengraph URL: https://github.com/dnsjava/dnsjava/issues/322
X: @github
Domain: redirect.github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SimpleResolver fails when UPDATE response has ZOCOUNT equals to 0.","articleBody":"In dnsjava 3.5.3, sending DDNS update to a server that returns NOTIMP with ZOCOUNT=0 results in NPE at SimpleResolver:406 because `response.getQuestion()` is null. #277 \"fixes\" that by considering the case an \"invalid message\", but that interpretation is not consistent with Section 3.8 of RFC 2136:\r\n\r\n> A response message is generated by copying the ID and Opcode fields from the request, and either copying the ZOCOUNT, PRCOUNT, UPCOUNT, and ADCOUNT fields and associated sections, or placing zeros (0) in the these \"count\" fields and not including any part of the original update\r\n\r\n\r\nhttps://github.com/dnsjava/dnsjava/blob/1f5940676c73e70f1987ea50e0128f8b70f0f4d7/src/main/java/org/xbill/DNS/SimpleResolver.java#L406\r\n\thttps://github.com/dnsjava/dnsjava/blob/f6fa697f88eb0dd502a0bdf13df48b49ae451db7/src/main/java/org/xbill/DNS/SimpleResolver.java#L422-L426","author":{"url":"https://github.com/javier-godoy","@type":"Person","name":"javier-godoy"},"datePublished":"2024-04-20T23:08:46Z","url":"https://github.com/dnsjava/dnsjava/issues/322"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:725ac88d-dd7f-460c-39b6-5b982f221eda |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4A6:2FB351:3C0B54:529966:6B0603C4 |
| html-safe-nonce | bed30cccee0e03cdef7dcb010336f9434100b931dcfcef705f6f6872230570f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEE2OjJGQjM1MTozQzBCNTQ6NTI5OTY2OjZCMDYwM0M0IiwidmlzaXRvcl9pZCI6Ijc5NzkzMjk3OTIwODY3NzA2MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9f8ce052d3a7c07058f73ea7598c3f5e4907dc0f549a84495ea1e2f0a8056e6 |
| hovercard-subject-tag | issue:2254757355 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dnsjava/dnsjava/322/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a0e537a543960b9d785f381bdd78e40c677551bc9549e867c771fcd9ecb4ffd8/dnsjava/dnsjava/issues/322 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a0e537a543960b9d785f381bdd78e40c677551bc9549e867c771fcd9ecb4ffd8/dnsjava/dnsjava/issues/322 |
| og:image:alt | In dnsjava 3.5.3, sending DDNS update to a server that returns NOTIMP with ZOCOUNT=0 results in NPE at SimpleResolver:406 because response.getQuestion() is null. #277 "fixes" that by considering th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | javier-godoy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 47127d2f2009e000f3401193f8b4163109ac669adad0804de1ee0e6333ca7b9e |
| turbo-cache-control | no-preview |
| go-import | github.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git |
| octolytics-dimension-user_id | 6755615 |
| octolytics-dimension-user_login | dnsjava |
| octolytics-dimension-repository_id | 17084567 |
| octolytics-dimension-repository_nwo | dnsjava/dnsjava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17084567 |
| octolytics-dimension-repository_network_root_nwo | dnsjava/dnsjava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0760ea46a027ba5099cdef7abd54f27865eb4f44 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width