Nameserver Workshop
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; };
};