NetBSD Problem Report #47680

From www@NetBSD.org  Fri Mar 22 05:54:33 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 7EAD463F15B
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Mar 2013 05:54:33 +0000 (UTC)
Message-Id: <20130322055432.77B4D63F15B@www.NetBSD.org>
Date: Fri, 22 Mar 2013 05:54:32 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: named can't reply IPv6 query : internal_send: ::1#57698: Protocol not ava\ ilable
X-Send-Pr-Version: www-1.0

>Number:         47680
>Category:       pkg
>Synopsis:       named can't reply IPv6 query : internal_send: ::1#57698: Protocol not available
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 22 05:55:00 +0000 2013
>Closed-Date:    Mon Jun 20 07:26:29 +0000 2016
>Last-Modified:  Mon Jun 20 07:28:06 +0000 2016
>Originator:     Jun Ebihara
>Release:        NetBSD 2.1_STABLE
>Organization:
SOUM Corporation.
>Environment:
NetBSD .co.jp 2.1_STABLE NetBSD 2.1_STABLE (GATEWAY) #5: Fri Jul 18 12:09:31 JST 2008  .co.jp:/usr/src/sys/arch/i386/compile/GATEWAY i386

>Description:
with using /usr/pkgsrc/net/bind9[7-9]:
Can't dig with IPv6 address.

% /usr/bin/dig example.com @::1
; <<>> DiG 8.3 <<>> example.com @::1
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend: Connection timed out

/var/log/messages
Mar 22 09:42:12  named[pid]: socket.c:1890: unexpected error:
Mar 22 09:42:12  named[pid]: internal_send: ::1#57698: Protocol not ava\
ilable
>How-To-Repeat:
% /usr/bin/dig example.com @::1
; <<>> DiG 8.3 <<>> example.com @::1
; (1 server found)
;; res options: init recurs defnam dnsrch
;; res_nsend: Connection timed out

/var/log/messages
Mar 22 09:42:12  named[pid]: socket.c:1890: unexpected error:
Mar 22 09:42:12  named[pid]: internal_send: ::1#57698: Protocol not ava\
ilable
>Fix:
[bind-9.7.4-P1/CHANGES]
----------------------------------------------------------------------
3135.   [port]          FreeBSD: workaround broken IPV6_USE_MIN_MTU processing.
                        See http://www.freebsd.org/cgi/query-pr.cgi?pr=158307
                        [RT #24950]
----------------------------------------------------------------------
makes some effect.

after apply these patch,dig works fine.
--- work.ORG/bind-9.9.2-P1/lib/isc/unix/socket.c        2012-10-26 13:50:34.000000000 +0900
+++ work/bind-9.9.2-P1/lib/isc/unix/socket.c    2013-03-22 14:12:30.000000000 +0900
@@ -94,6 +94,10 @@
 #include <sys/utsname.h>
 #endif

+#if defined(IPV6_USE_MIN_MTU)
+#undef IPV6_USE_MIN_MTU
+#endif
+
 /*%
  * Choose the most preferable multiplex method.
  */

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: reed@NetBSD.org
State-Changed-When: Mon, 30 May 2016 23:20:13 +0000
State-Changed-Why:
Do you still have this problem? It is many versions ago and I cannot
reproduce. In addition, while your diff was against a BIND 9 version
the dig appears to be BIND 8 (different code).



State-Changed-From-To: feedback->closed
State-Changed-By: jun@NetBSD.org
State-Changed-When: Mon, 20 Jun 2016 07:26:29 +0000
State-Changed-Why:
It works fine nowadays.Cant re-produce.
I have no issue about it. all works fine nowadays.
time to close this PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.