Files
SCR/SCR3.2/TP04/osiris.named.conf.local

35 lines
831 B
Plaintext
Raw Normal View History

2025-12-09 10:03:21 +01:00
include "/etc/bind/ddns.key";
2025-12-05 13:48:10 +01:00
2025-12-09 10:03:21 +01:00
//SANS CLE
2025-12-05 13:48:10 +01:00
zone "tp.scr"
{
2025-12-09 10:03:21 +01:00
type master;
file "/etc/bind/db.tp.scr";
allow-update { 192.168.1.10; };
};
zone "1.168.192.in-addr.arpa"
{
type master;
file "/etc/bind/db.tp.scr.inv";
allow-update { 192.168.1.10; };
};
//Avec CLE
zone "tp.scr"
{
type master;
// 2. Modification du chemin vers le répertoire inscriptible pour DDNS (I.4)
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"; };
2025-12-05 13:48:10 +01:00
};
zone "1.168.192.in-addr.arpa"
{
2025-12-09 10:03:21 +01:00
type master;
// 2. Modification du chemin vers le répertoire inscriptible pour DDNS (I.4)
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"; };
2025-12-05 13:48:10 +01:00
};