Commit 04d58db3 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

321. [bug] When synthesizing a CNAME RR for a DNAME

                        response, query_addcname() failed to intitialize
                        the type and class of the CNAME dns_rdata_t,
                        causing random failures.
parent 3ce33052
321. [bug] When synthesizing a CNAME RR for a DNAME
response, query_addcname() failed to intitialize
the type and class of the CNAME dns_rdata_t,
causing random failures.
320. [func] Multiple rndc changes: parses an rndc.conf file,
uses authentication to talk to named, command
line syntax changed. This will all be described
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: query.c,v 1.113 2000/07/06 02:27:26 bwelling Exp $ */
/* $Id: query.c,v 1.114 2000/07/10 18:33:25 gson Exp $ */
#include <config.h>
......@@ -1548,6 +1548,8 @@ query_addcname(ns_client_t *client, dns_name_t *qname, dns_name_t *tname,
dns_name_toregion(tname, &r);
rdata->data = r.base;
rdata->length = r.length;
rdata->rdclass = client->message->rdclass;
rdata->type = dns_rdatatype_cname;
ISC_LIST_INIT(rdatalist->rdata);
ISC_LIST_APPEND(rdatalist->rdata, rdata, link);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment