Nameserver Workshop: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (→Nagus) |
Thomas (Diskussion | Beiträge) (→Worf) |
||
| Zeile 8: | Zeile 8: | ||
file "lan"; | file "lan"; | ||
}; | }; | ||
| + | </pre> | ||
| + | */var/cache/bind/lan | ||
| + | <pre> | ||
| + | $TTL 60 ; 5 minutes | ||
| + | lan IN 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. | ||
</pre> | </pre> | ||
Version vom 4. April 2017, 09:16 Uhr
Toplevel Nameserver
Worf und Nagus
Worf
- /etc/bind/named.conf.local
zone "lan" {
type master;
file "lan";
};
- /var/cache/bind/lan
$TTL 60 ; 5 minutes
lan IN 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.
Nagus
- /etc/bind/named.conf.local
zone "lan" {
type slave;
file "lan";
masters { 192.168.255.250; };
};