summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2008-10-07 10:13:22 +0000
committerAdam Tkac <atkac@fedoraproject.org>2008-10-07 10:13:22 +0000
commitc5eef512c0b0cc12e65c6052ca2aac8781c1ea17 (patch)
tree55ea4341b7e54ea53b74ef38fd9c2e1ba652308c
parent9e9db25803be514fb5dac79031c2914f3570b4ea (diff)
downloadbind-c5eef512c0b0cc12e65c6052ca2aac8781c1ea17.tar.gz
bind-c5eef512c0b0cc12e65c6052ca2aac8781c1ea17.tar.xz
bind-c5eef512c0b0cc12e65c6052ca2aac8781c1ea17.zip
- removed bind-9.3.2b2-no_servfail_stops.patch from CVS, not used in RPM
-rw-r--r--bind-9.3.2b2-no_servfail_stops.patch104
1 files changed, 0 insertions, 104 deletions
diff --git a/bind-9.3.2b2-no_servfail_stops.patch b/bind-9.3.2b2-no_servfail_stops.patch
deleted file mode 100644
index 0f53d91..0000000
--- a/bind-9.3.2b2-no_servfail_stops.patch
+++ /dev/null
@@ -1,104 +0,0 @@
---- bind-9.3.2b2/bin/dig/host.1.no_servfail_stops 2005-10-12 22:33:43.000000000 -0400
-+++ bind-9.3.2b2/bin/dig/host.1 2005-11-15 12:51:26.000000000 -0500
-@@ -30,7 +30,7 @@
- host \- DNS lookup utility
- .SH "SYNOPSIS"
- .HP 5
--\fBhost\fR [\fB\-aCdlnrTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-4\fR] [\fB\-6\fR] {name} [server]
-+\fBhost\fR [\fB\-aCdlnrTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [ \fB\-s\fR ] {name} [server]
- .SH "DESCRIPTION"
- .PP
- \fBhost\fR
-@@ -176,6 +176,11 @@
- option is used,
- \fBhost\fR
- will effectively wait forever for a reply. The time to wait for a response will be set to the number of seconds given by the hardware's maximum value for an integer quantity.
-+.PP
-+The \fB-s\fR option tells \fBhost\fR NOT to send the query to the next nameserver if any
-+server responds with a SERVFAIL response, which is the reverse of normal stub resolver
-+behaviour.
-+.PP
- .SH "FILES"
- .PP
- \fI/etc/resolv.conf\fR
---- bind-9.3.2b2/bin/dig/nslookup.c.no_servfail_stops 2005-07-12 01:47:42.000000000 -0400
-+++ bind-9.3.2b2/bin/dig/nslookup.c 2005-11-15 12:49:55.000000000 -0500
-@@ -50,7 +50,8 @@
- comments = ISC_TRUE, section_question = ISC_TRUE,
- section_answer = ISC_TRUE, section_authority = ISC_TRUE,
- section_additional = ISC_TRUE, recurse = ISC_TRUE,
-- aaonly = ISC_FALSE;
-+ aaonly = ISC_FALSE, nofail=ISC_TRUE;
-+
- static isc_boolean_t in_use = ISC_FALSE;
- static char defclass[MXRD] = "IN";
- static char deftype[MXRD] = "A";
-@@ -631,6 +632,10 @@
- usesearch = ISC_FALSE;
- } else if (strncasecmp(opt, "sil", 3) == 0) {
- /* deprecation_msg = ISC_FALSE; */
-+ } else if (strncasecmp(opt, "fail", 3) == 0) {
-+ nofail=ISC_FALSE;
-+ } else if (strncasecmp(opt, "nofail", 3) == 0) {
-+ nofail=ISC_TRUE;
- } else {
- printf("*** Invalid option: %s\n", opt);
- }
-@@ -689,6 +694,8 @@
- lookup->section_authority = section_authority;
- lookup->section_additional = section_additional;
- lookup->new_search = ISC_TRUE;
-+ if ( nofail )
-+ lookup->servfail_stops = ISC_FALSE;
- ISC_LIST_INIT(lookup->q);
- ISC_LINK_INIT(lookup, link);
- ISC_LIST_APPEND(lookup_list, lookup, link);
---- bind-9.3.2b2/bin/dig/nslookup.1.no_servfail_stops 2005-10-12 22:33:43.000000000 -0400
-+++ bind-9.3.2b2/bin/dig/nslookup.1 2005-11-15 12:49:55.000000000 -0500
-@@ -166,6 +166,12 @@
- Always use a virtual circuit when sending requests to the server.
- .sp
- (Default = novc)
-+.TP
-+\fB[no]fail\R
-+Try the next nameserver if a nameserver responds with SERVFAIL or
-+a referral (nofail) or terminate query (fail) on such a response.
-+
-+(Default = nofail)
- .RE
- .IP
- .SH "FILES"
---- bind-9.3.2b2/bin/dig/host.c.no_servfail_stops 2005-07-03 23:29:45.000000000 -0400
-+++ bind-9.3.2b2/bin/dig/host.c 2005-11-15 12:49:55.000000000 -0500
-@@ -128,7 +128,8 @@
- " -w specifies to wait forever for a reply\n"
- " -W specifies how long to wait for a reply\n"
- " -4 use IPv4 query transport only\n"
--" -6 use IPv6 query transport only\n", stderr);
-+" -6 use IPv6 query transport only\n"
-+" -s a SERVFAIL response should stop query\n", stderr);
- exit(1);
- }
-
-@@ -538,7 +539,10 @@
-
- lookup = make_empty_lookup();
-
-- while ((c = isc_commandline_parse(argc, argv, "lvwrdt:c:aTCN:R:W:Dni46"))
-+ lookup->servfail_stops = ISC_FALSE;
-+ lookup->comments = ISC_FALSE;
-+
-+ while ((c = isc_commandline_parse(argc, argv, "lvwrdt:c:aTCN:R:W:Dni46s"))
- != EOF) {
- switch (c) {
- case 'l':
-@@ -676,6 +680,9 @@
- } else
- fatal("can't find IPv6 networking");
- break;
-+ case 's':
-+ lookup->servfail_stops = ISC_TRUE;
-+ break;
- }
- }
-