7-я фря, bind 9.4.2 - странно, никада такого не было.. :(
Добавлено: 2008-10-20 17:25:15
плз, памагите разобраццо, никада такого не было.. раньше ставил на 6.2 релизе, проблем - ноль
шас поднял на 7-ке и пошли чудеса... грешу, мож какая sysctl-ка засекьюрила всё нах..
не отвечает локальный днс, вернее отвечает, но только, если принудительно задать сервер=127.0.0.1
какова черта намед форвардит запросы на дефолтный роут (10.0.0.1)!????
в nsswitch.conf все как надо: сначала локальный днс, затем файл...
вот конфиг намеда
messages:
почему в запросах не видно А-записей ?
хотя в файле зоны всё есть
и рапортует, что всезагружено:
где че покосилось?
шас поднял на 7-ке и пошли чудеса... грешу, мож какая sysctl-ка засекьюрила всё нах..
не отвечает локальный днс, вернее отвечает, но только, если принудительно задать сервер=127.0.0.1
Код: Выделить всё
[20:11] /etc/namedb > nslookup localhost
Server: 10.0.0.1
Address: 10.0.0.1#53
Name: localhost
Address: 127.0.0.1
[20:17] /etc/namedb > nslookup bu-fw.buh.local
Server: 10.0.0.1
Address: 10.0.0.1#53
** server can't find bu-fw.buh.local: NXDOMAIN
[20:18] /etc/namedb >
в nsswitch.conf все как надо: сначала локальный днс, затем файл...
Код: Выделить всё
hosts: dns files
Код: Выделить всё
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on { 127.0.0.1; };
query-source address * port 53;
};
logging {
category "default" { "debug"; };
category "general" { "debug"; };
category "database" { "debug"; };
category "security" { "debug"; };
category "config" { "debug"; };
category "resolver" { "debug"; };
category "xfer-in" { "debug"; };
category "xfer-out" { "debug"; };
category "notify" { "debug"; };
category "client" { "debug"; };
category "unmatched" { "debug"; };
category "network" { "debug"; };
category "update" { "debug"; };
// category "queries" { "null"; };
category "queries" { "que"; };
category "dispatch" { "debug"; };
category "dnssec" { "debug"; };
category "lame-servers" { "debug"; };
channel "debug" {
file "/etc/namedb/log/nameddbg" versions 2 size 5m;
print-time yes;
print-category yes;
};
channel "que" {
file "/etc/namedb/log/que" versions 2 size 5m;
print-time yes;
print-category yes;
};
};
// If you enable a local name server, don't forget to enter 127.0.0.1
// first in your /etc/resolv.conf so this server will be queried.
// Also, make sure to enable it in /etc/rc.conf.
zone "." {
type hint;
file "named.root";
};
zone "buh.local" {
type master;
file "master/buh.local";
allow-transfer {
127.0.0.1;
192.168.10.240;
};
allow-query {
127.0.0.1;
192.168.10.240;
};
};
zone "0.0.127.in-addr.arpa" {
type master;
file "master/0.0.127.in-addr.arpa";
allow-transfer {
127.0.0.1;
192.168.10.240;
10.0.0.240;
};
allow-query {
127.0.0.1;
192.168.10.240;
10.0.0.240;
};
};
Код: Выделить всё
Oct 20 19:09:52 bu-fw named[613]: starting BIND 9.4.2 -u bind -t /var/named -u bind
Oct 20 19:09:52 bu-fw named[613]: command channel listening on 127.0.0.1#953
Oct 20 19:09:52 bu-fw named[613]: command channel listening on ::1#953
Код: Выделить всё
20-Oct-2008 17:44:58.909 queries: client 127.0.0.1#53846: query: 240.10.168.192.in-addr.arpa IN PTR +
20-Oct-2008 17:45:41.274 queries: client 127.0.0.1#55418: query: 1.0.0.127.in-addr.arpa IN PTR +
Код: Выделить всё
$TTL 3600
buh.local. SOA bu-fw.buh.local. root.bu-fw.buh.local. (
2008102001 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
NS bu-fw.buh.local.
localhost A 127.0.0.1
bu-fw A 127.0.0.1
bu-fw A 192.168.10.240
Код: Выделить всё
20-Oct-2008 19:09:52.120 general: zone 0.0.127.in-addr.arpa/IN: loaded serial 2008101701
20-Oct-2008 19:09:52.121 general: zone 10.168.192.in-addr.arpa/IN: loaded serial 2008101701
20-Oct-2008 19:09:52.122 general: zone buh.local/IN: loaded serial 2008102001
20-Oct-2008 19:09:52.122 general: running