Fix some errors in the chrooting named section of the Handbook.

PR:		docs/35420
Submitted by:	Ceri <setantae@submonkey.net>
This commit is contained in:
Giorgos Keramidas 2002-03-07 23:55:11 +00:00
parent e4e67f3452
commit 5eb43a8183
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12385

View file

@ -4283,7 +4283,7 @@ www IN CNAME @</programlisting>
&prompt.root; <userinput>mv named.conf etc && ln -sf etc/named.conf</userinput>
&prompt.root; <userinput>mv named.root master</userinput>
<!-- I don't like this next bit -->
&prompt.root; <userinput>sh make-localhost && mv localhost.rev master</userinput>
&prompt.root; <userinput>sh make-localhost && mv localhost.rev localhost-v6.rev master</userinput>
&prompt.root; <userinput>cat > master/named.localhost
$ORIGIN localhost.
$TTL 6h
@ -4375,7 +4375,7 @@ named_flags="-u bind -g bind -t /etc/namedb /etc/named.conf"</programlisting>
<replaceable>/etc/named.conf</replaceable> is denoted by a full
pathname <emphasis>relative to the sandbox</emphasis>, i.e. in
the line above, the file referred to is actually
<filename>/etc/namedb/etc/named.conf</filename>/</para>
<filename>/etc/namedb/etc/named.conf</filename>.</para>
</note>
</listitem>
</itemizedlist>
@ -4407,10 +4407,16 @@ zone "localhost" IN {
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "master/named.loopback";
file "master/localhost.rev";
allow-transfer { localhost; };
notify no;
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int" {
type master;
file "master/localhost-v6.rev";
allow-transfer { localhost; };
notify no;
};
zone "." IN {
type hint;
file "master/named.root";