iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
install-my-scripts on mounting new subvol to use more up to date scripts
[distro-setup]
/
machine_specific
/
li
/
filesystem
/
etc
/
bind
/
named.conf.local
diff --git
a/machine_specific/li/filesystem/etc/bind/named.conf.local
b/machine_specific/li/filesystem/etc/bind/named.conf.local
index de7b94eb58239a8350c18a26cde19f9f4e957c50..5253a12e061a5e9b7790fd8643da240c17cb7c67 100644
(file)
--- a/
machine_specific/li/filesystem/etc/bind/named.conf.local
+++ b/
machine_specific/li/filesystem/etc/bind/named.conf.local
@@
-7,15
+7,14
@@
// ian: ok. uncommented. 1918 zones are private ip ranges.
include "/etc/bind/zones.rfc1918";
// ian: ok. uncommented. 1918 zones are private ip ranges.
include "/etc/bind/zones.rfc1918";
-
-
-zone "
iank.pw
" {
+# based on random internet tutorials, then reading
+# file:///usr/share/doc/bind9-doc/arm/Bv9ARM.ch06.html#dynamic_update_policies
+zone "
b8.nz
" {
type master;
type master;
-file "/
etc/bind/bind-writable/db.iank.pw
";
+file "/
var/lib/bind/db.b8.nz
";
update-policy {
update-policy {
- // allow host to update themselves with a key having their own name
- grant iank.pw. name iank.pw. A TXT;
- grant iank.pw. name *.iank.pw. A TXT;
+ // allow updating almost anything in the zone or subdomains.
+ grant b8.nz. subdomain b8.nz.;
};
};
};
};
-include "/etc/bind/key.
iank.pw
";
+include "/etc/bind/key.
b8.nz
";