Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376315 - net-dns/bind: config-file split
Summary: net-dns/bind: config-file split
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Christian Ruppert (idl0r)
URL: http://blog.allanglesit.com/2011/02/u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 08:57 UTC by cilly
Modified: 2012-05-22 00:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2011-07-25 08:57:56 UTC
Would be nice to have split config-files, see links:

http://blog.allanglesit.com/2011/02/using-views-with-bind-9/
http://blog.allanglesit.com/2011/02/using-views-with-bind-9-part-2/

In example from debian:

cat /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

include "/etc/bind/named.conf.local";

include "/etc/bind/named.conf.acl";

I'd also reocmmend adding a config-file for private IPs:

// Consider adding the 1918 zones here, if they are not used in your
// organization
include "/etc/bind/zones.rfc1918";

cat /etc/bind/named.conf.acl
acl master { 10.0.0.11/32; };
acl internals { !10.0.0.1/32; 10.0.0.0/24; localhost; };
acl externals { 10.0.0.1/32; any; };