LINUX.ORG.RU
ФорумAdmin

DNS Problem


0

0

Вопрос таков: поставил 8-бинд, конфиг написал как в ХоуТО nslookup показывает что все ОК ifconfig тоже однако с сервером могу сконектится только когда бинд остановлен по IP:)))))) ping уются не все сервера, а только один:(((((((


ну ты бы скинул конфиг чтоли... или хотя бы то, что выдает nslookup с q=any

inkyspot
()

Вот он

/etc/hosts.conf
order hosts, bind

/etc/hosts
127.0.0.1 localhost.
192.168.120.61 ns.fua-land.md. ns
195.138.120.2 renam.md.
192.168.120.63 www.fua-land.md.
192.168.120.62 ftp.fua-land.md.
192.168.120.64 mail.fua-land.md.

/etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

/etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!


/etc/named.boot
;
; a caching only nameserver config
;
directory /var/named
cache . named.ca
primary 0.0.127.in-addr.arpa named.local

/etc/named.conf
options {
directory "/var/named";
};
zone "0.0.127.IN-ADDR.ARPA"{
type master;
file "127.0.0";
};
zone "." {
type hint;
file "root.hints";
};
zone "fua-land.md"{
type master;
file "fua-land.md";
};
zone "120.168.192.IN-ADDR.ARPA"{
type master;
file "192.168.120";
notify yes;
};

/etc/resolv.conf
domain renam.md.
search ns.fua-land.md. renam.md.
nameserver 192.168.120.61
nameserver 195.138.120.2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; /var/named/127.0.0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ IN SOA ns.fua-land.md. root.fua-land.md. (
2001060801 ; serial
14400 ; refresh
3600 ; retry
3600000 ; expire
259200 ; default_ttl
)
NS ns.fua-land.md.
1 PTR localhost.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; /var/named/192.168.120
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ IN SOA ns.fua-land.md. root.fua-land.md. (
2001060805 ; serial
14400 ; refresh
3600 ; retry
1209600 ; expire
345600 ; default_ttl
)
@ IN NS ns.fua-land.md.
61 IN PTR ns.fua-land.md.
62 IN PTR ftp.fua-land.md.
63 IN PTR www.fua-land.md.
64 IN PTR mail.fua-land.md.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; /var/named/fua-land.md
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ IN SOA ns.fua-land.md. root.fua-land.md. (
2001020602 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; default_ttl
)
;------------------------------------------------------------------------------
@ IN NS ns.fua-land.md.
localhost IN A 127.0.0.1
;------------------------------------------------------------------------------
;@ IN MX mail.fua-land.md.
;------------------------------------------------------------------------------
ns.fua-land.md. IN A 192.168.120.61
;ns.fua-land.md. IN MX fua-land.md.
;------------------------------------------------------------------------------
ftp.fua-land.md. IN A 192.168.120.62
ftp.fua-land.md. IN NS ns.fua-land.md.
;ftp.fua-land.md. IN MX fua-land.md.
;------------------------------------------------------------------------------
www.fua-land.md. IN A 192.168.120.63
www.fua-land.md. IN NS ns.fua-land.md.
;www.fua-land.md. IN MX fua-land.md.
;------------------------------------------------------------------------------
mail.fua-land.md. IN A 192.168.120.64
mail.fua-land.md. IN NS ns.fua-land.md.
;www.fua-land.md. IN MX fua-land.md.
;---------------------The End /02.06.2001/-------------------------------------

/var/named/root.hints
; <<>> DiG 8.2 <<>> @e.root-servers.net . ns
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUERY SECTION:
;; ., type = NS, class = IN

;; ANSWER SECTION:
. 6D IN NS H.ROOT-SERVERS.NET.
. 6D IN NS C.ROOT-SERVERS.NET.
. 6D IN NS G.ROOT-SERVERS.NET.
. 6D IN NS F.ROOT-SERVERS.NET.
. 6D IN NS B.ROOT-SERVERS.NET.
. 6D IN NS J.ROOT-SERVERS.NET.
. 6D IN NS K.ROOT-SERVERS.NET.
. 6D IN NS L.ROOT-SERVERS.NET.
. 6D IN NS M.ROOT-SERVERS.NET.
. 6D IN NS I.ROOT-SERVERS.NET.
. 6D IN NS E.ROOT-SERVERS.NET.
. 6D IN NS D.ROOT-SERVERS.NET.
. 6D IN NS A.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
H.ROOT-SERVERS.NET. 5w6d16h IN A 128.63.2.53
C.ROOT-SERVERS.NET. 5w6d16h IN A 192.33.4.12
G.ROOT-SERVERS.NET. 5w6d16h IN A 192.112.36.4
F.ROOT-SERVERS.NET. 5w6d16h IN A 192.5.5.241
B.ROOT-SERVERS.NET. 5w6d16h IN A 128.9.0.107
J.ROOT-SERVERS.NET. 5w6d16h IN A 198.41.0.10
K.ROOT-SERVERS.NET. 5w6d16h IN A 193.0.14.129
L.ROOT-SERVERS.NET. 5w6d16h IN A 198.32.64.12
M.ROOT-SERVERS.NET. 5w6d16h IN A 202.12.27.33
I.ROOT-SERVERS.NET. 5w6d16h IN A 192.36.148.17
E.ROOT-SERVERS.NET. 5w6d16h IN A 192.203.230.10
D.ROOT-SERVERS.NET. 5w6d16h IN A 128.8.10.90
A.ROOT-SERVERS.NET. 5w6d16h IN A 198.41.0.4

;; Total query time: 1188 msec
;; FROM: server to SERVER: e.root-servers.net 192.203.230.10
;; WHEN: Thu Apr 5 08:52:28 2001
;; MSG SIZE sent: 17 rcvd: 436



Bagum
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.