Здравствуйте, помогите пожалуйста советом,
Отрабатывает..
[root@ns1 named]# nslookup 90.100.143.43
Server: 90.100.143.43
Address: 90.100.143.43#53
43.143.100.90.in-addr.arpa name = ns2.ts-domain.ru.
43.143.100.90.in-addr.arpa name = ns1.ts-domain.ru.
Увы:
[root@ns1 named]# nslookup ts-domain.ru
Server: 90.100.143.43
Address: 90.100.143.43#53
** server can't find ts-domain.ru: SERVFAIL
Bind9 работает под chroot+Selinux
Далее конфиги...
less /etc/named.conf
options {
listen-on port 53 { 127.0.0.1; 90.100.143.43; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
logging {
channel default_debug {
file "data/named.run";
severity debug 10;
};
channel debug_log {
file "data/debug.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel query_log {
file "data/query.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel client {
file "data/client.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel update {
file "data/update.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel update-security {
file "data/update-security.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel xfer-in {
file "data/xfer-in.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel xfer-out {
file "data/xfer-out.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel config {
file "data/config.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel database {
file "data/database.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel default {
file "data/default.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel dispatch {
file "data/dispatch.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel general {
file "data/general.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel network {
file "data/network.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel notify {
file "data/notify.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
channel resolver {
file "data/resolver.log";
severity debug 10;
print-category yes;
print-severity yes;
print-time yes;
};
category resolver { resolver; };
category security { debug_log; };
category queries { query_log; };
category client { client; };
category update { update; };
category update-security { update-security; };
category xfer-in { xfer-in; };
category xfer-out { xfer-out; };
category config { config; };
category database { database; };
category default { default; };
category dispatch { dispatch; };
category general { general; };
category network { network; };
category notify { notify; };
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/var/named/ts-domain.ru";
include "/etc/rndc.key";
include "/var/named/master/ts-domain.ru.key";
less /var/named/ts-domain.ru
zone "ts-domain.ru" IN {
type master;
file "/var/named/master/ts-domain.ru";
allow-update { any; };
zone-statistics yes;
};
zone "143.100.90.in-addr.arpa" IN {
type master;
file "/var/named/master/ts-domain.ru.rev";
allow-update { any; };
zone-statistics yes;
};
Прямая:
$TTL 57600
$ORIGIN ts-domain.ru.
@ IN SOA ns1.ts-domain.ru. root.ts-domain.ru. ( 20130801 10800 1200 3600000 3600 )
IN NS ns1.ts-domain.ru.
IN NS ns2.ts-domain.ru.
ns1 IN A 90.100.143.43
ns2 IN A 90.100.143.43
www IN A 90.100.143.43
@ TXT "domain"
mnode01 A 90.100.143.20
esxi5 A 90.100.143.30
ipam A 90.100.143.145
Обратная:
$TTL 57600
$ORIGIN 143.100.90.in-addr.arpa.
@ IN SOA ns1.ts-domain. root.ts-domain. ( 20130801 10800 1200 3600000 3600 )
NS ns1.ts-domain.
NS ns2.ts-domain.
43 IN PTR ns1.ts-domain.
43 IN PTR ns2.ts-domain.
20 IN PTR mnode01.ts-domain.
30 IN PTR esxi5.ts-domain.
145 IN PTR ipam.ts-domain.