/usr/share/doc/HOWTO/hr-html/DNS-KAKO-7.html is in doc-linux-hr 20000416.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.11">
<TITLE>DNS KAKO: Prebacivanje s verzije 4 na verziju 8</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2">
<LINK HREF="DNS-KAKO-8.html" REL=next>
<LINK HREF="DNS-KAKO-6.html" REL=previous>
<LINK HREF="DNS-KAKO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="DNS-KAKO-8.html">Sljedeæi dio</A>
<A HREF="DNS-KAKO-6.html">Prethodni dio</A>
<A HREF="DNS-KAKO.html#toc7">Sadr¾aj</A>
<HR>
<H1><A NAME="s7">7. Prebacivanje s verzije 4 na verziju 8</A></H1>
<P>Ovo je originalno bilo poglavlje kako koristiti bind 8 koje je napisao David
E. Smith,
<A HREF="mailto:dave@bureau42.ml.org"> dave@bureau42.ml.org</A>.
Uredio sam ga da odgovara novom imenu poglavlja.
<P>Nema puno posla. Osim ¹to se koristi named.conf umjesto
named.boot datoteke, sve je identièno. I bind8 dolazi sa perl
skriptom koja prevodi stare datoteke u nove. Primjer stare named.boot
datoteke za caching only imenski server:
<HR>
<PRE>
directory /var/named
cache . root.hints
primary 0.0.127.IN-ADDR.ARPA 127.0.0.zone
primary localhost localhost.zone
</PRE>
<HR>
<P>Ukoliko ima¹ source distribuciju, na komandnoj liniji, u
bind8/src/bin/named direktoriju æe¹ otipkati sljedeæe: (Ako
ima¹ binarni paket, skripta je vjerojatno tu negdje, ali nisam siguran gdje
op.a.).
<PRE>
./named-bootconf.pl < named.boot > named.conf
</PRE>
I to æe napraviti ovakav named.conf:
<HR>
<PRE>
// generated by named-bootconf.pl
options {
directory "/var/named";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "127.0.0.zone";
};
zone "localhost" {
type master;
file "localhost.zone";
};
</PRE>
<HR>
<P>Radi za sve ¹to mo¾e biti u named.boot datoteci, mada ne dodaje sva
nova unapreðenja i konfiguracijske opcije koje dopu¹ta bind8. Evo
kompletnijeg named.conf-a koji radi isto to, samo malo uèinkovitije.
<P>
<HR>
<PRE>
// This is a configuration file for named (from BIND 8.1 or later).
// It would normally be installed as /etc/named.conf.
// The only change made from the `stock' named.conf (aside from this
// comment :) is that the directory line was uncommented, since I
// already had the zone files in /var/named.
options {
directory "/var/named";
check-names master warn; /* default. */
datasize 20M;
};
zone "localhost" IN {
type master;
file "localhost.zone";
check-names fail;
allow-update { none; };
allow-transfer { any; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
check-names fail;
allow-update { none; };
allow-transfer { any; };
};
zone "." IN {
type hint;
file "root.hints";
};
</PRE>
<HR>
<P>bind8/src/bin/named/test ima ovo, i kopije datoteka zona, koje
mnogi ljudi mogu samo ubaciti i odmah koristiti.
<P>Formati datoteka zona i root.hints datoteke su identièni, kao i
naredbe za njihovo mijenjanje.
<P>
<HR>
<A HREF="DNS-KAKO-8.html">Sljedeæi dio</A>
<A HREF="DNS-KAKO-6.html">Prethodni dio</A>
<A HREF="DNS-KAKO.html#toc7">Sadr¾aj</A>
</BODY>
</HTML>
|