unable to obtain neither an IPv4 nor an IPv6 dispatch

Cathy Almond cathya at isc.org
Fri Jul 18 15:20:35 UTC 2014


It might have something to do with the number of CPUs that named detects
when it starts, which (by default) drives how many listening tasks it
starts per listening interface.

BIND 9.10 changed the defaults slightly, but you can also control how
many listening tasks per interface using the -U option.

Is there anything else unusual in your test set-up?   I notice you said
that you have 500 views - do you also have a large number of virtual
interfaces, each with their own listen-on?


On 18/07/2014 07:06, Matthew Calder wrote:
> Thanks Mark. I tried building with increased ISC_SOCKET_MAXSOCKETS with
> BIND 9.9.5 but I kept seeing the same error. Eventually, I tried BIND
> 9.10.0 and the error no longer happens. 
> 
> 
> On Wed, Jul 16, 2014 at 3:56 PM, Mark Andrews <marka at isc.org
> <mailto:marka at isc.org>> wrote:
> 
> 
>     You need to increase ISC_SOCKET_MAXSOCKETS.
> 
>     e.g.
> 
>             ./configure STC_CDEFINES=-DISC_SOCKET_MAXSOCKETS=21000
> 
>     In message
>     <CANcFfBvV2wKtdc-dtZZcecC4giF1nfVGqVQ-KXQGpTEx6++f3Q at mail.gmail.com
>     <mailto:CANcFfBvV2wKtdc-dtZZcecC4giF1nfVGqVQ-KXQGpTEx6%2B%2Bf3Q at mail.gmail.com>>
>     , Matthew Calder writes:
>     > --===============1218088129802327245==
>     > Content-Type: multipart/alternative;
>     boundary=089e013a044a72db8004fe551784
>     >
>     > --089e013a044a72db8004fe551784
>     > Content-Type: text/plain; charset=UTF-8
>     >
>     > I'm completely new to BIND configuration. I'm running on BIND
>     > 9.9.5-3-Ubuntu (Extended Support Version) on Ubuntu 14.04 and
>     seeing this
>     > error on startup/reload.
>     >
>     > Jul 15 19:20:57 named[1978]: server.c:2772: unexpected error:
>     > Jul 15 19:20:57 named[1978]: unable to obtain neither an IPv4 nor
>     an IPv6
>     > dispatch
>     >
>     > This happens if I do rndc reload/reconfig. My named.conf.local has
>     > many around 500 views and large match-client ACLs because I am
>     > experimenting with a global split-horizon configuration. I would
>     appreciate
>     > any help.
>     >
>     > --089e013a044a72db8004fe551784
>     > Content-Type: text/html; charset=UTF-8
>     > Content-Transfer-Encoding: quoted-printable
>     >
>     > <div dir=3D"ltr"><div><span
>     style=3D"color:windowtext;line-height:17px;font=
>     > -family:Calibri,Sans-Serif;font-size:11pt"><span
>     style=3D"background-color:=
>     > inherit">I'm completely new to BIND configuration. I'm
>     running on <=
>     > span
>     style=3D"color:windowtext;line-height:17px;font-family:Calibri,Sans-Se=
>     > rif;font-size:11pt"><span style=3D"background-color:inherit">BIND
>     9.9.5-3-U=
>     > buntu (Extended Support Version) on Ubuntu 14.04 and seeing this
>     error on s=
>     > tartup/reload.</span></span></span></span></div>
>     > <div><span
>     style=3D"color:windowtext;line-height:17px;font-family:Calibri,S=
>     > ans-Serif;font-size:11pt"><span
>     style=3D"background-color:inherit"></span><=
>     > /span><br></div><div><span
>     style=3D"color:windowtext;line-height:17px;font-=
>     > family:Calibri,Sans-Serif;font-size:11pt"><span
>     style=3D"background-color:i=
>     > nherit">Jul 15 19:20:57</span><span
>     style=3D"background-color:inherit"> nam=
>     > ed[1978]: server.c:2772: unexpected error:</span></span><span
>     style=3D"line=
>     >
>     -height:17px;font-family:Calibri,Sans-Serif;font-size:11pt"><span>=C2=A0</s=
>     > pan><br>
>     > </span><span
>     style=3D"color:windowtext;line-height:17px;font-family:Calibri=
>     > ,Sans-Serif;font-size:11pt"><span
>     style=3D"background-color:inherit">Jul 15=
>     >  19:20:57 </span><span
>     style=3D"background-color:inherit">named[1978]: unab=
>     > le to obtain neither an IPv4 nor an IPv6 dispatch</span></span></div>
>     > <div><span
>     style=3D"color:windowtext;line-height:17px;font-family:Calibri,S=
>     > ans-Serif;font-size:11pt"><span
>     style=3D"background-color:inherit"></span><=
>     > /span><br></div><div><span
>     style=3D"color:windowtext;line-height:17px;font-=
>     > family:Calibri,Sans-Serif;font-size:11pt"><span
>     style=3D"background-color:i=
>     > nherit"><span
>     style=3D"color:windowtext;line-height:17px;font-family:Calibr=
>     > i,Sans-Serif;font-size:11pt"><span
>     style=3D"background-color:inherit">This =
>     > happens if I do rndc reload/reconfig.
>     </span></span></span></span><span sty=
>     >
>     le=3D"color:windowtext;line-height:17px;font-family:Calibri,Sans-Serif;font=
>     > -size:11pt"><span style=3D"background-color:inherit">My
>     named.conf.local ha=
>     > s many=C2=A0around=C2=A0500 views=C2=A0and large match-client ACLs
>     because =
>     > I am experimenting with a global split-horizon configuration. I
>     would appre=
>     > ciate any help.</span></span></div>
>     > </div>
>     >
>     > --089e013a044a72db8004fe551784--
>     >
>     > --===============1218088129802327245==
>     > Content-Type: text/plain; charset="us-ascii"
>     > MIME-Version: 1.0
>     > Content-Transfer-Encoding: 7bit
>     > Content-Disposition: inline
>     >
>     > _______________________________________________
>     > Please visit https://lists.isc.org/mailman/listinfo/bind-users to
>     unsubscribe
>     >  from this list
>     >
>     > bind-users mailing list
>     > bind-users at lists.isc.org <mailto:bind-users at lists.isc.org>
>     > https://lists.isc.org/mailman/listinfo/bind-users
>     > --===============1218088129802327245==--
>     --
>     Mark Andrews, ISC
>     1 Seymour St., Dundas Valley, NSW 2117, Australia
>     PHONE: +61 2 9871 4742 <tel:%2B61%202%209871%204742>                
>     INTERNET: marka at isc.org <mailto:marka at isc.org>
> 
> 
> 
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> 



More information about the bind-users mailing list