Fixes for DHCP, DDNS.
This commit is contained in:
parent
a6b408d866
commit
16ac6d7169
4 changed files with 20 additions and 6 deletions
|
@ -15,17 +15,19 @@ max-lease-time 7200;
|
|||
# behavior of the version 2 packages ('none', since DHCP v2 didn't
|
||||
# have support for DDNS.)
|
||||
#ddns-update-style none;
|
||||
use-host-decl-names on;
|
||||
|
||||
use-host-decl-names on;
|
||||
ddns-update-style standard;
|
||||
|
||||
include "/etc/dhcp/rndc.key";
|
||||
|
||||
zone intern. {
|
||||
primary dns;
|
||||
primary 127.0.0.1;
|
||||
key rndc-key;
|
||||
}
|
||||
|
||||
zone 0.168.192.in-addr.arpa. {
|
||||
primary dns;
|
||||
primary 127.0.0.1;
|
||||
key rndc-key;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
include "/etc/bind/rndc.key";
|
||||
|
||||
zone "0.168.192.in-addr.arpa" {
|
||||
type master;
|
||||
notify no;
|
||||
file "/etc/bind/db.192.168.0";
|
||||
journal "/var/lib/bind/db.192.168.0.jnl";
|
||||
allow-update { key rndc-key; };
|
||||
};
|
||||
|
||||
zone "intern" {
|
||||
|
@ -10,4 +13,5 @@ zone "intern" {
|
|||
notify no;
|
||||
file "/etc/bind/db.intern";
|
||||
journal "/var/lib/bind/db.intern.jnl";
|
||||
allow-update { key rndc-key; };
|
||||
};
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
domain {{ ansible_domain }}
|
||||
search {{ ansible_domain }}.
|
||||
search {{ ansible_domain }}
|
||||
nameserver 127.0.0.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue