gestern habe ich ein Upgrade von Debian 8 -> Debian 9 vorgenommen. Es gab leider einige Probleme, die ich aber alle lösen konnte. Nur das DDNS funktioniert einfach nicht mehr und in den Log-Dateien steht nichts drin, was mir zur Lösung dieses Problems weiter helfen könnte.
Hier meine Konfiguration
ddns.key:
Code: Alles auswählen
key DDNS_UPDATE {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret "M2fkqF+QOD/P3S0Y7EgA4/mEVRn60ooC/wbCRl9FG8O8Y/GAgvKkE4BluUzcm8AllT4t/ZNjLJmPrWBQ21OAqw==";
};
Code: Alles auswählen
include "/etc/bind/zones.rfc1918";
include "/etc/bind/ddns.key";
zone "xxx.local" {
type master;
notify no;
file "/etc/bind/db.xxx.local";
allow-update { key DDNS_UPDATE; };
forwarders { 192.168.20.3; };
};
zone "20.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192.168.20";
allow-update { key DDNS_UPDATE; };
forwarders { 192.168.20.3; };
};
Code: Alles auswählen
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
update-static-leases on;
# option definitions common to all supported networks...
option domain-name "xxx.local";
option domain-name-servers 1.xxx.local;
option routers 2.xxx.local;
option ntp-servers 2.xxx.local;
option broadcast-address 192.168.20.255;
option netbios-name-servers 1.xxx.local;
default-lease-time 86400;
max-lease-time 172800;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
include "/etc/dhcp/ddns.key";
zone xxx.local. {
primary 127.0.0.1;
key DDNS_UPDATE;
}
zone 20.168.192.in-addr.arpa. {
primary 127.0.0.1;
key DDNS_UPDATE;
}
subnet 192.168.20.0 netmask 255.255.255.0 {
range 192.168.20.20 192.168.20.90;
default-lease-time 86400;
max-lease-time 172800;
}