BIND 8 bug? (Protocol not supported)

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Feb 16 23:34:51 UTC 2004


	I suspect you are seeing the side effects of this which will
	only be visible on timeouts if you only have a single nameserver
	in resolv.conf.

1594.   [bug]           if only a single nameserver was listed in resolv.conf
                        IPv6 default server was also being used.

Index: res_init.c
===================================================================
RCS file: /proj/cvs/prod/bind8/src/lib/resolv/res_init.c,v
retrieving revision 8.32
retrieving revision 8.33
diff -u -r8.32 -r8.33
--- res_init.c	3 Apr 2003 06:31:10 -0000	8.32
+++ res_init.c	24 Sep 2003 04:49:29 -0000	8.33
@@ -402,7 +402,7 @@
 		    continue;
 		}
 	    }
-	    if (nserv > 1) 
+	    if (nserv > 0) 
 		statp->nscount = nserv;
 #ifdef RESOLVSORT
 	    statp->nsort = nsort;
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list