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: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mikle Kolyada (RETIRED)
URL: http://blog.allanglesit.com/2011/02/u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 08:57 UTC by cilly
Modified: 2021-06-22 06:21 UTC (History)
2 users (show)

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; };