Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269202 - net-dns/bind-9.4.3_p2 ignore -ipv6
Summary: net-dns/bind-9.4.3_p2 ignore -ipv6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 04:09 UTC by Benny Pedersen
Modified: 2010-11-10 18:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info from the host (emerge.info,3.32 KB, text/plain)
2009-05-10 04:11 UTC, Benny Pedersen
Details
latest bind version (bind.txt,3.44 KB, text/plain)
2010-11-09 23:32 UTC, Benny Pedersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benny Pedersen 2009-05-10 04:09:01 UTC
May 10 05:47:09 home named[11464]: starting BIND 9.4.3-P2 -u named -n 2 -4 -d 1
May 10 05:47:09 home named[11464]: found 2 CPUs, using 2 worker threads
May 10 05:47:09 home named[11464]: using up to 4096 sockets
May 10 05:47:09 home named[11464]: loading configuration from '/etc/bind/named.conf'
May 10 05:47:09 home named[11464]: max open files (1024) is smaller than max sockets (4096)
May 10 05:47:09 home named[11464]: using default UDP/IPv4 port range: [1024, 65535]
May 10 05:47:09 home named[11464]: using default UDP/IPv6 port range: [1024, 65535]
May 10 05:47:09 home named[11464]: listening on IPv4 interface lo, 127.0.0.1#53
May 10 05:47:09 home named[11464]: automatic empty zone: 0.IN-ADDR.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 254.169.IN-ADDR.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: D.F.IP6.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 8.E.F.IP6.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: 9.E.F.IP6.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: A.E.F.IP6.ARPA
May 10 05:47:09 home named[11464]: automatic empty zone: B.E.F.IP6.ARPA
May 10 05:47:09 home named[11464]: command channel listening on 127.0.0.1#953
May 10 05:47:09 home named[11464]: zone 127.in-addr.arpa/IN: loaded serial 2008070101
May 10 05:47:09 home named[11464]: zone 168.192.in-addr.arpa/IN: loaded serial 2009031402
May 10 05:47:09 home named[11464]: zone localhost/IN: loaded serial 2008070101
May 10 05:47:09 home named[11464]: zone wireless/IN: loaded serial 2009031402
May 10 05:47:09 home named[11464]: running



Reproducible: Always



Expected Results:  
USE="-ipv6" emerge bind should not add ipv6 anyway

These are the packages that would be merged, in order:

[ebuild   R   ] net-dns/bind-9.4.3_p2  USE="idn resolvconf threads -berkdb -dlz -doc -ipv6 -ldap -mysql -odbc -postgres (-selinux) -ssl -urandom" 6,392 kB

Total: 1 package (1 reinstall), Size of downloads: 6,392 kB
Comment 1 Benny Pedersen 2009-05-10 04:10:19 UTC
also the error max open files :/
Comment 2 Benny Pedersen 2009-05-10 04:11:51 UTC
Created attachment 190806 [details]
emerge info from the host
Comment 3 Alexander Zimmerling 2010-03-04 18:48:16 UTC
same problem here, which results in an incredible slow lookup performance.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2010-11-02 20:56:16 UTC
Sorry guys, I didn't notice this bug before :/
Is it still persistent with 9.4.3_p5?
Comment 5 Benny Pedersen 2010-11-09 23:32:33 UTC
Created attachment 253811 [details]
latest bind version

shows its not solved upstream
Comment 6 Benny Pedersen 2010-11-10 05:39:09 UTC
need more info but what info ?
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2010-11-10 16:20:03 UTC
(In reply to comment #6)
> need more info but what info ?
> 

I just wanted a answer to my question.
Comment 8 Christian Ruppert (idl0r) gentoo-dev 2010-11-10 18:51:13 UTC
It doesn't really use IPv6, it just reads the config values + default values. In this case it is "use-v6-udp-ports". It also doesn't listen on any IPv6 addresses or interfaces.
To me it looks like they just didn't check for IPv6 support when setting the default values or the default internal zones.
So it doesn't ignore the ipv6 useflag.

For "max open files" take a look at bug 296663.