+2854. [func] nsupdate will now preserve the entered case of domain
+ names in update requests it sends. [RT #20928]
+
2854. [func] dig: allow the final soa record in a axfr response to
be suppressed, dig +onesoa. [RT #20929]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsupdate.c,v 1.173 2009/09/29 15:06:06 fdupont Exp $ */
+/* $Id: nsupdate.c,v 1.174 2010/03/04 05:24:56 marka Exp $ */
/*! \file */
{
isc_result_t result;
dns_request_t *request = NULL;
- unsigned int options = 0;
+ unsigned int options = DNS_REQUESTOPT_CASE;
ddebug("send_update()");
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: request.h,v 1.29 2009/01/17 23:47:43 tbox Exp $ */
+/* $Id: request.h,v 1.30 2010/03/04 05:24:56 marka Exp $ */
#ifndef DNS_REQUEST_H
#define DNS_REQUEST_H 1
#include <dns/types.h>
#define DNS_REQUESTOPT_TCP 0x00000001U
+#define DNS_REQUESTOPT_CASE 0x00000002U
typedef struct dns_requestevent {
ISC_EVENT_COMMON(struct dns_requestevent);
* #DNS_REQUESTOPT_TCP option is set, TCP will be used. The request
* will timeout after 'timeout' seconds.
*
+ *\li If the #DNS_REQUESTOPT_CASE option is set, use case sensitive
+ * compression.
+ *
*\li When the request completes, successfully, due to a timeout, or
* because it was canceled, a completion event will be sent to 'task'.
*
* will timeout after 'timeout' seconds. UDP requests will be resent
* at 'udptimeout' intervals if non-zero or 'udpretries' is non-zero.
*
+ *\li If the #DNS_REQUESTOPT_CASE option is set, use case sensitive
+ * compression.
+ *
*\li When the request completes, successfully, due to a timeout, or
* because it was canceled, a completion event will be sent to 'task'.
*
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: request.c,v 1.85 2009/09/01 00:22:26 jinmei Exp $ */
+/* $Id: request.c,v 1.86 2010/03/04 05:24:56 marka Exp $ */
/*! \file */
return (result);
cleanup_cctx = ISC_TRUE;
+ if ((options & DNS_REQUESTOPT_CASE) != 0)
+ dns_compress_setsensitive(&cctx, ISC_TRUE);
+
/*
* Render message.
*/