Nameserver Workshop: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (→Worf) |
Thomas (Diskussion | Beiträge) (→Worf) |
||
| Zeile 2: | Zeile 2: | ||
Worf und Nagus | Worf und Nagus | ||
==Worf== | ==Worf== | ||
| + | ==Konfiguration== | ||
*/etc/bind/named.conf.local | */etc/bind/named.conf.local | ||
<pre> | <pre> | ||
| Zeile 22: | Zeile 23: | ||
NS nagus.xinux.lan. | NS nagus.xinux.lan. | ||
</pre> | </pre> | ||
| + | ==Restart== | ||
| + | *systemctl restart bind9 | ||
==Nagus== | ==Nagus== | ||
Version vom 4. April 2017, 09:29 Uhr
Toplevel Nameserver
Worf und Nagus
Worf
Konfiguration
- /etc/bind/named.conf.local
zone "lan" {
type master;
file "lan";
};
- /var/cache/bind/lan
$TTL 60 ; 5 minutes
@ SOA worf.xinux.lan. technik.xinux.de. (
2017040301 ; serial
14400 ; refresh (4 hours)
3600 ; retry (1 hour)
3600000 ; expire (5 weeks 6 days 16 hours)
86400 ; minimum (1 day)
)
NS worf.xinux.lan.
NS nagus.xinux.lan.
Restart
- systemctl restart bind9
Nagus
- /etc/bind/named.conf.local
zone "lan" {
type slave;
file "lan";
masters { 192.168.255.250; };
};