Explorar el Código

Beispiel für ddns-confgen

Patrick Jaeger %!s(int64=8) %!d(string=hace) años
padre
commit
37d653849e
Se han modificado 1 ficheros con 28 adiciones y 0 borrados
  1. 28 0
      README.md

+ 28 - 0
README.md

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