|
lug-bg: dns
- Subject: lug-bg: dns
- From: unitrans@xxxxxxx (Yavor Ivanov)
- Date: Wed, 2 Jan 2002 19:50:37 +0100
Pusnah si DNS server , poskoro cacheing nameserver i se polu4i raboteshe no imah nqkoi neizqsneni neshta kato nov adress.Ako iskam da si syzdam domain na nqkoe IP v localnata naprimer 192.168.0.8 s domain pc8.dns.net trqba li syszdam nova zona ili prosto v file da dobavq
pc8.dns.net in ns 192.168.0.8
#taka pisheshe v HOWTO-to no nestava eto conf file
========named.conf============
options {
directory "/var/named";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
};
=========root.hints==========
. 6D IN NS C.ROOT-SERVERS.NET
. 6D IN NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 6D IN A 202.12.27.33
C.ROOT-SERVERS.NET. 6D IN A 192.33.4.12
========127.0.0.===============
$TTL 3D
@ IN SOA ns.dns.net. server.dns.net. (
1
8H
2H
4W
1D)
IN NS ns.iavor.bg.
1 IN PTR server.unitrans.bg.
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|