Sytuacja wygląda następująco:
Mam na serwerze odpalonego bind-a który pracuje jako cache, ale oprócz tego jest serwerem nazw wewnetrznej sieci, by było wygodniej łączyć się z serwerem
Niestety gdy dokonałem aktualizacji binda do wersji 9.3.0 z repozytorium zaczęły się schody...
O ile cache działa, to strefa wewnętrzna się nie ładuje...
siec_nnd.zone:
$TTL 86400
$ORIGIN siec_nnd.
@ IN SOA router.siec_nnd. root.router.siec_nnd. (
2006062905
43200
1800
3600000
86400 )
;; serwery nazw
@ IN NS router.siec_nnd.
;; IN NS ns3.everydns.net
;;komputery w sieci
router IN A 192.168.1.1
marcin IN A 192.168.1.2
laptop IN A 192.168.1.3
laptop_r IN A 192.168.1.4
tata_l IN A 192.168.1.5
tata IN A 192.168.1.6
mala IN A 192.168.1.7
named.conf
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "." IN {
type hint;
file "cache/named.ca";
};
zone "localhost" IN {
type master;
file "cache/localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "cache/named.local";
allow-update { none; };
};
zone "siec_nnd" IN {
type master;
file "siec_nnd/siec_nnd.zone";
};
logging {
channel xfer-log {
file "/var/log/named.log";
print-category yes;
print-severity yes;
print-time yes;
severity info;
};
category xfer-in { xfer-log; };
category xfer-out { xfer-log; };
category notify { xfer-log; };
};
a takie są błędy w logach
Jun 30 20:02:37 router named[15758]: dns_rdata_fromtext: siec_nnd/siec_nnd.zone:4: near 'router.siec_nnd.': bad name (check-names)
Jun 30 20:02:37 router named[15758]: zone siec_nnd/IN: loading master file
Poprzednio działało, a teraz nie. Nie mam pojęcia w czym tkwi błąd...
