Fini mais bancal

This commit is contained in:
2025-12-09 10:05:20 +01:00
parent 84549dbd4d
commit ff1a8b9f24
3 changed files with 3 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
key "tp.scr-key" { key "tp.scr-key" {
algorithm hmac-md5; algorithm hmac-md5;
secret "isfoZ1noj0MAJUxImFn1ZQ=="; secret "isfoZ1noj0MAJUxImFn1ZQ==";
}; };

View File

@@ -13,4 +13,4 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
{ {
primary 192.168.1.158; primary 192.168.1.158;
} }
} }

View File

@@ -19,17 +19,13 @@ zone "1.168.192.in-addr.arpa"
zone "tp.scr" zone "tp.scr"
{ {
type master; type master;
// 2. Modification du chemin vers le répertoire inscriptible pour DDNS (I.4)
file "/var/cache/bind/db.tp.scr"; file "/var/cache/bind/db.tp.scr";
// 3. Ajout de la clause allow-update avec la clé TSIG (II.2)
allow-update { key "tp.scr-key"; }; allow-update { key "tp.scr-key"; };
}; };
zone "1.168.192.in-addr.arpa" zone "1.168.192.in-addr.arpa"
{ {
type master; type master;
// 2. Modification du chemin vers le répertoire inscriptible pour DDNS (I.4)
file "/var/cache/bind/db.tp.scr.inv"; file "/var/cache/bind/db.tp.scr.inv";
// 3. Ajout de la clause allow-update avec la clé TSIG (II.2)
allow-update { key "tp.scr-key"; }; allow-update { key "tp.scr-key"; };
}; };