Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 573471 Details for
Bug 807540
bind97 "DNS format error... invalid response" from mbs.partners.extranet.microsoft.com
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix the problem, taken from RHEL bind-9.7.3-8.P3.el6_2.2
bind97-betterreferral.patch (text/plain), 1.63 KB, created by
CJ Kucera
on 2012-03-28 21:18:00 UTC
(
hide
)
Description:
Patch to fix the problem, taken from RHEL bind-9.7.3-8.P3.el6_2.2
Filename:
MIME Type:
Creator:
CJ Kucera
Created:
2012-03-28 21:18:00 UTC
Size:
1.63 KB
patch
obsolete
>diff -ruN bind-9.7.0-P2/lib/dns/resolver.c bind-9.7.0-P2-cj/lib/dns/resolver.c >--- bind-9.7.0-P2/lib/dns/resolver.c 2012-03-28 11:18:08.000000000 -0500 >+++ bind-9.7.0-P2-cj/lib/dns/resolver.c 2012-03-28 16:12:04.000000000 -0500 >@@ -6419,6 +6419,29 @@ > return (result == ISC_R_SUCCESS ? ISC_TRUE : ISC_FALSE); > } > >+static isc_boolean_t >+betterreferral(fetchctx_t *fctx) { >+ isc_result_t result; >+ dns_name_t *name; >+ dns_rdataset_t *rdataset; >+ dns_message_t *message = fctx->rmessage; >+ >+ for (result = dns_message_firstname(message, DNS_SECTION_AUTHORITY); >+ result == ISC_R_SUCCESS; >+ result = dns_message_nextname(message, DNS_SECTION_AUTHORITY)) { >+ name = NULL; >+ dns_message_currentname(message, DNS_SECTION_AUTHORITY, &name); >+ if (!isstrictsubdomain(name, &fctx->domain)) >+ continue; >+ for (rdataset = ISC_LIST_HEAD(name->list); >+ rdataset != NULL; >+ rdataset = ISC_LIST_NEXT(rdataset, link)) >+ if (rdataset->type == dns_rdatatype_ns) >+ return (ISC_TRUE); >+ } >+ return (ISC_FALSE); >+} >+ > static void > resquery_response(isc_task_t *task, isc_event_t *event) { > isc_result_t result = ISC_R_SUCCESS; >@@ -6876,6 +6899,12 @@ > * it as a valid answer. > */ > result = answer_response(fctx); >+ } else if (fctx->type != dns_rdatatype_ns && >+ !betterreferral(fctx)) { >+ /* >+ * Lame response !!!. >+ */ >+ result = answer_response(fctx); > } else { > if (fctx->type == dns_rdatatype_ns) { > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 807540
:
573236
|
573237
| 573471