* [Comm] DNS server (again)
@ 2003-08-29 8:26 Aleksander N. Gorohovski
2003-08-29 10:38 ` Леутин Александр
0 siblings, 1 reply; 2+ messages in thread
From: Aleksander N. Gorohovski @ 2003-08-29 8:26 UTC (permalink / raw)
To: community
Доброго времени суток сообщество!
Спасибо за советы - настроил DNS сервер на ALT M2.2,
но пока только для своей внутренней сети (intanet).
Жаль но все же осталось несколько не до конца понятных
(может кто знает) мест в настройках.
Коротко о себе: у меня локальная сеть - peooc.net
oc.peooc.net (192.168.0.1) - машина являющаяся одновременно
сервером DNS, ftp, www (Apach), mail, samba, proxy (с выходом в Internet).
Остальные Win-машины: comp02, comp03, и т.д.
В файл rfc1912.conf к имеющимся зонам
zone "localhost" {type master; file "localhost"; allow-update { none;
};};
zone "localdomain" {type master; file "localdomain"; allow-update {
none; };};
zone "127.in-addr.arpa" {type master; file "127.in-addr.arpa";
allow-update { none; };};
zone "0.in-addr.arpa" {type master; file "empty";allow-update { none; };};
zone "255.in-addr.arpa" {type master; file "empty"; allow-update {
none; };};
добавил зону для своей локальной сети:
zone "peooc.net" {
type master;
file "peooc.net";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" {
type master;
file "192.168.0.in-addr.arpa";
allow-update { none; };
};
И создал соответственно два файла баз данных:
.../zone/peooc.net
.../zone/192.168.0.in-addr.arpa
Вопросы остались в следующем:
- нужны ли файлы "localhost" и "localdomain" после создания "peooc.net"
"127.in-addr.arpa" после создания "192.168.0.in-addr.arpa"
- что означает в секциях зон параметр:
allow-update { none; }
обычно в литературе приводится параметр
notify no;
или
notify yes;
- и (прошу прошения) последний: в ALT M2.2 немогу найти файла
корневого кэша "named.ca".
Попробовал установить самую новую версию из Internet:
# nslookup | tee ns
> set q=ns
> .
но файл ns оказался совершенно пустым. Попробовал по другому:
# dig @e.root-servers.net.ns > named.ca.new
выдало:
dig: Couldn't find server: e.root-servers.net.ns : Name or service not known
Спасибо.
С уважением,
Aleksander N.G.
Donetsk, DonNTU
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] DNS server (again)
2003-08-29 8:26 [Comm] DNS server (again) Aleksander N. Gorohovski
@ 2003-08-29 10:38 ` Леутин Александр
0 siblings, 0 replies; 2+ messages in thread
From: Леутин Александр @ 2003-08-29 10:38 UTC (permalink / raw)
To: community
* "Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua> Fri, 29 Aug
2003 12:26:21 +0400
> Жаль но все же осталось несколько не до конца понятных
> (может кто знает) мест в настройках.
> Коротко о себе: у меня локальная сеть - peooc.net
>
> В файл rfc1912.conf к имеющимся зонам
> добавил зону для своей локальной сети:
> И создал соответственно два файла баз данных:
> .../zone/peooc.net
> .../zone/192.168.0.in-addr.arpa
>
> Вопросы остались в следующем:
> - нужны ли файлы "localhost" и "localdomain" после создания
> "peooc.net"
> "127.in-addr.arpa" после создания
> "192.168.0.in-addr.arpa"
Да, нужны.
> - что означает в секциях зон параметр:
> allow-update { none; }
не разрешать никому извне обновлять инфу о зоне
> обычно в литературе приводится параметр
> notify no;
> или
> notify yes;
отправлять или нет анонс об обновлении другим серверам
> - и (прошу прошения) последний: в ALT M2.2 немогу найти файла
> корневого кэша "named.ca".
он вкопмилирован, но вроде можно подсунуть явно свой
> Попробовал установить самую новую версию из Internet:
> # nslookup | tee ns
> > set q=ns
> > .
> но файл ns оказался совершенно пустым. Попробовал по другому:
> # dig @e.root-servers.net.ns > named.ca.new
> выдало:
> dig: Couldn't find server: e.root-servers.net.ns : Name or service not
> known
elektronik@olimp ~ $ dig @E.root-servers.net
; <<>> DiG 9.2.2rc1 <<>> @E.root-servers.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51046
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUESTION SECTION:
;. IN NS
;; ANSWER SECTION:
. 518400 IN NS E.ROOT-SERVERS.NET.
. 518400 IN NS F.ROOT-SERVERS.NET.
. 518400 IN NS G.ROOT-SERVERS.NET.
. 518400 IN NS H.ROOT-SERVERS.NET.
. 518400 IN NS I.ROOT-SERVERS.NET.
. 518400 IN NS J.ROOT-SERVERS.NET.
. 518400 IN NS K.ROOT-SERVERS.NET.
. 518400 IN NS L.ROOT-SERVERS.NET.
. 518400 IN NS M.ROOT-SERVERS.NET.
. 518400 IN NS A.ROOT-SERVERS.NET.
. 518400 IN NS B.ROOT-SERVERS.NET.
. 518400 IN NS C.ROOT-SERVERS.NET.
. 518400 IN NS D.ROOT-SERVERS.NET.
;; ADDITIONAL SECTION:
E.ROOT-SERVERS.NET. 3600000 IN A 192.203.230.10
F.ROOT-SERVERS.NET. 3600000 IN A 192.5.5.241
G.ROOT-SERVERS.NET. 3600000 IN A 192.112.36.4
H.ROOT-SERVERS.NET. 3600000 IN A 128.63.2.53
I.ROOT-SERVERS.NET. 3600000 IN A 192.36.148.17
J.ROOT-SERVERS.NET. 3600000 IN A 192.58.128.30
K.ROOT-SERVERS.NET. 3600000 IN A 193.0.14.129
L.ROOT-SERVERS.NET. 3600000 IN A 198.32.64.12
M.ROOT-SERVERS.NET. 3600000 IN A 202.12.27.33
A.ROOT-SERVERS.NET. 3600000 IN A 198.41.0.4
B.ROOT-SERVERS.NET. 3600000 IN A 128.9.0.107
C.ROOT-SERVERS.NET. 3600000 IN A 192.33.4.12
D.ROOT-SERVERS.NET. 3600000 IN A 128.8.10.90
;; Query time: 741 msec
;; SERVER: 192.203.230.10#53(E.root-servers.net)
;; WHEN: Fri Aug 29 16:33:48 2003
;; MSG SIZE rcvd: 436
elektronik@olimp ~ $
--
Леутин Александр leutin@rambler.ru
Registered Linux user #295797
Жизнь - смертельно интересная штука...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-29 10:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 8:26 [Comm] DNS server (again) Aleksander N. Gorohovski
2003-08-29 10:38 ` Леутин Александр
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git