Собственно хозяину на заметку 🙂
Прямая зона:
$ORIGIN lan.
router 86400 IN SOA ns.router.lan. root.router.lan. (
2011060501 ; Serial (YYYYDDMM plus 2 digit serial)
86400 ; refresh (1 day)
7200 ; retry (2 hours)
8640000 ; expire (100 days)
86400) ; minimum (1 day)
86400 IN NS ns.router.lan.
86400 IN A *.*.*.*
$ORIGIN router.lan.
ns IN A *.*.*.*
Обратная зона:
$TTL 86400
@ IN SOA router.lan. root.router.lan. (
2011060501 ; Serial
86400 ; refresh
7200 ; retry
8640000 ; expire
86400) ; minimum
IN NS router.lan.
333 IN PTR router.lan.
Описание зон в конфиге named.conf
zone "router.lan" {
type master;
file "/etc/namedb/master/router.lan";
};
zone "0.0.10.in-addr.arpa"{
type master;
file "/etc/namedb/master/10.0.0.rev";
};