Fini mais bancal
This commit is contained in:
@@ -1,19 +1,35 @@
|
||||
//
|
||||
// Do any local configuration here
|
||||
//
|
||||
include "/etc/bind/ddns.key";
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
//SANS CLE
|
||||
|
||||
zone "tp.scr"
|
||||
{
|
||||
type master;
|
||||
file "/etc/bind/db.tp.scr";
|
||||
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"; };
|
||||
};
|
||||
|
||||
zone "1.168.192.in-addr.arpa"
|
||||
{
|
||||
type master;
|
||||
file "/etc/bind/db.tp.scr.inv";
|
||||
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"; };
|
||||
};
|
||||
Reference in New Issue
Block a user