Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] BIND 9.5.1 startup fails w/ IPv6 disabled - PATCH to fix built-in root hints
@ 2009-08-11 17:54 Eric Malkowski
  2009-09-05 19:16 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Malkowski @ 2009-08-11 17:54 UTC (permalink / raw)
  To: buildroot

Hi all-

When you guys went to BIND 9.5.1_P2 and P3 for kaminsky and dynamic 
update DoS fixes, the ISC folks added compiled-in root hints that get 
loaded before any other zones (including user specified root hints) and 
when IPv6 is disabled via buildroot option (my setup is this way), BIND 
will fail to start complaining that the IPv6 AAAA addresses in the built 
in root hints are invalid.  The error is right after the server outputs 
"setting up root hints" and it complains "2001:503:BA3E::2:30 bad IPv6 
address"

My solution is attached as a patch against BIND 9.5.1_P3 that simply 
puts #ifdef WANT_IPV6 around the AAAA addrs in the built in table and 
now bind starts fine and appears to work fine on an IPv4 only buildroot 
setup.

It's up to you guys if you want to commit the patch to git.  I'm 
attaching w/ my Thunderbird e-mail client, hopefully it won't botch the 
patch, if so let me know what other ways I can submit the patch.

Thanks -- and hope this helps someone out, I spent too many hours trying 
to figure this one out and wanted to at least report it somewhere in 
case someone else is googling like mad trying to find an answer.

-Eric Malkowski

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-fix-ipv6-hints.patch
Type: text/x-patch
Size: 1907 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090811/7f355aca/attachment.bin>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] BIND 9.5.1 startup fails w/ IPv6 disabled - PATCH to fix built-in root hints
  2009-08-11 17:54 [Buildroot] BIND 9.5.1 startup fails w/ IPv6 disabled - PATCH to fix built-in root hints Eric Malkowski
@ 2009-09-05 19:16 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-09-05 19:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Eric" == Eric Malkowski <eric@bvwireless.net> writes:

Hi, and sorry for the slow response.

 Eric> When you guys went to BIND 9.5.1_P2 and P3 for kaminsky and dynamic
 Eric> update DoS fixes, the ISC folks added compiled-in root hints that get
 Eric> loaded before any other zones (including user specified root hints)
 Eric> and when IPv6 is disabled via buildroot option (my setup is this way),
 Eric> BIND will fail to start complaining that the IPv6 AAAA addresses in
 Eric> the built in root hints are invalid.  The error is right after the
 Eric> server outputs "setting up root hints" and it complains
 Eric> "2001:503:BA3E::2:30 bad IPv6 address"

 Eric> My solution is attached as a patch against BIND 9.5.1_P3 that simply
 Eric> puts #ifdef WANT_IPV6 around the AAAA addrs in the built in table and
 Eric> now bind starts fine and appears to work fine on an IPv4 only
 Eric> buildroot setup.

Have you tried submitting this to the bind people? It sounds to me as a
pretty clear bug.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-05 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 17:54 [Buildroot] BIND 9.5.1 startup fails w/ IPv6 disabled - PATCH to fix built-in root hints Eric Malkowski
2009-09-05 19:16 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox