Selaa lähdekoodia

Beispiel umformatiert

Patrick Jaeger 8 vuotta sitten
vanhempi
commit
4861f63fad
1 muutettua tiedostoa jossa 14 lisäystä ja 15 poistoa
  1. 14 15
      README.md

+ 14 - 15
README.md

@@ -35,21 +35,20 @@ Mit dem Tool `ddns-confgen` (in Debian im Paket bind9 enthalten), den erforderli
35 35
 `$ZONE` ist die gewünschte Zone, in meinem Fall war das `memory-leak.de` 
36 36
 
37 37
 #### Ergebnis
38
- root@delta:/etc/bind# ddns-confgen -z memory-leak.dre
39
- # To activate this key, place the following in named.conf, and
40
- # in a separate keyfile on the system or systems from which nsupdate
41
- # will be run:
42
- key "ddns-key.memory-leak.dre" {
43
-         algorithm hmac-sha256;
44
-         secret "hMZ4fVbpllxEJ93AoTa+PjYeUIXx2FHXLgBTz/fWXlA=";
45
- };
46
- 
47
- # Then, in the "zone" definition statement for "memory-leak.dre",
48
- # place an "update-policy" statement like this one, adjusted as 
49
- # needed for your preferred permissions:
50
- update-policy {
51
-           grant ddns-key.memory-leak.dre zonesub ANY;
52
- };
38
+	root@delta:/etc/bind# ddns-confgen -z memory-leak.dre
39
+	# To activate this key, place the following in named.conf, and
40
+	# in a separate keyfile on the system or systems from which nsupdate
41
+	# will be run:
42
+	key "ddns-key.memory-leak.dre" {
43
+		algorithm hmac-sha256;
44
+		secret "hMZ4fVbpllxEJ93AoTa+PjYeUIXx2FHXLgBTz/fWXlA=";
45
+	};	
46
+	# Then, in the "zone" definition statement for "memory-leak.dre",
47
+	# place an "update-policy" statement like this one, adjusted as 
48
+	# needed for your preferred permissions:
49
+	update-policy {
50
+		grant ddns-key.memory-leak.dre zonesub ANY;
51
+	};
53 52
 
54 53
 
55 54