KEA DHCP DDNS Netzwerk und Serveradministration: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Auf unserem Nameserver= *cd /etc/bind *tsig-keygen -a HMAC-SHA256 it213.key >> /etc/bind/named.conf.local“)
 
Zeile 1: Zeile 1:
 
=Auf unserem Nameserver=
 
=Auf unserem Nameserver=
 +
;Key erzeugen
 
*cd /etc/bind
 
*cd /etc/bind
 
*tsig-keygen -a HMAC-SHA256 it213.key >>  /etc/bind/named.conf.local
 
*tsig-keygen -a HMAC-SHA256 it213.key >>  /etc/bind/named.conf.local
 +
;Keys zuweisen
 +
*cat /etc/bind/named.conf.local
 +
//tsig-keygen -a HMAC-SHA256 it213.key
 +
key "it213.key" {
 +
    algorithm hmac-sha256;
 +
    secret "Y8zioRKf3L0lWlhZ5FReSdegcnWVD53IIqT9PPle5cU=";
 +
};
 +
 +
zone "it213.int" {
 +
    type master;
 +
    file "/var/cache/bind/it213.int";
 +
    allow-update { key "it213.key"; };
 +
};
 +
 +
zone "213.88.10.in-addr.arpa" {
 +
    type master;
 +
    file "/var/cache/bind/213.88.10.in-addr.arpa";
 +
    allow-update { key "it213.key"; };
 +
};
 +
 +
zone "213.26.172.in-addr.arpa" {
 +
    type master;
 +
    file "/var/cache/bind/213.26.172.in-addr.arpa";
 +
    allow-update { key "it213.key"; };
 +
};

Version vom 31. März 2026, 13:25 Uhr

Auf unserem Nameserver

Key erzeugen
  • cd /etc/bind
  • tsig-keygen -a HMAC-SHA256 it213.key >> /etc/bind/named.conf.local
Keys zuweisen
  • cat /etc/bind/named.conf.local
//tsig-keygen -a HMAC-SHA256 it213.key 
key "it213.key" {
    algorithm hmac-sha256;
    secret "Y8zioRKf3L0lWlhZ5FReSdegcnWVD53IIqT9PPle5cU=";
}; 
zone "it213.int" {
    type master;
    file "/var/cache/bind/it213.int";
    allow-update { key "it213.key"; };
}; 

zone "213.88.10.in-addr.arpa" {
    type master;
    file "/var/cache/bind/213.88.10.in-addr.arpa";
    allow-update { key "it213.key"; };
}; 
zone "213.26.172.in-addr.arpa" {
    type master;
    file "/var/cache/bind/213.26.172.in-addr.arpa";
    allow-update { key "it213.key"; };
};