welcome: please sign in

Diff for "DaemonAdmin/Bind"

Differences between revisions 6 and 7
Revision 6 as of 2012-04-23 04:18:30
Size: 874
Editor: ClintonEbadi
Comment:
Revision 7 as of 2013-01-06 21:35:59
Size: 1095
Editor: ClintonEbadi
Comment: update a bit
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

== New Nameserver ==

When adding a new nameserver to hcoop.net, or changing the values of `ns[12].hcoop.net` '''update the glue records at our registrar'''. Otherwise, `hcoop.net` may stop resolving.

== Config ==

For Debian Squeeze, we're using the stock bind9 configuration. You'll need to open up a firewall port to serve dns.
Line 7: Line 15:
DomTool periodically deposits `/etc/bind/named.conf.local`, listing all of our hosted DNS zones and their master/slave statuses and configuration. DomTool also populates `/etc/bind/zones` with zonefiles referenced by `/etc/bind/named.conf.local`. DomTool periodically deposits `/etc/bind/named.conf.local`, listing all of our hosted DNS zones and their master/slave statuses and configuration. DomTool also populates `/etc/bind/zones` with zonefiles referenced by `/etc/bind/named.conf.local` on any master servers.
Line 13: Line 21:
= Adding new HCoop subdomains =
Line 15: Line 22:
This is '''not''' done by editing anything in {{{/etc/bind}}}. Instead, see [[DaemonAdmin/Tinydns]].
Line 17: Line 23:
CategoryOutdated CategoryNeedsWork CategorySystemAdministration

1. New Nameserver

When adding a new nameserver to hcoop.net, or changing the values of ns[12].hcoop.net update the glue records at our registrar. Otherwise, hcoop.net may stop resolving.

2. Config

For Debian Squeeze, we're using the stock bind9 configuration. You'll need to open up a firewall port to serve dns.

3. Filesystem layout

On both deleuze and mire, BIND data lives in /etc/bind. This directory is seeded with the default files from the Debian bind9 package. Additionally, we add a zones subdirectory.

DomTool periodically deposits /etc/bind/named.conf.local, listing all of our hosted DNS zones and their master/slave statuses and configuration. DomTool also populates /etc/bind/zones with zonefiles referenced by /etc/bind/named.conf.local on any master servers.

4. Permissions

/etc/bind/zones should be owned by user bind, since BIND seems to like creating temporary files there. I've only yet seen this matter during updating of slave zone information.


CategorySystemAdministration

DaemonAdmin/Bind (last edited 2018-10-21 16:58:23 by ClintonEbadi)