From: hayami@end.nk-exa.co.jp (Ken'ichi Hayami)
Newsgroups: fj.lan,fj.sys.sun
Subject: How to set up DNS
Date: 14 Apr 92 13:39:39 GMT
Followup-To: fj.lan
Distribution: fj
Organization: Engineering Dept., NK-EXA Co.,Ltd., Japan

$@B.?e!s$$$D$b<ALd$P$+(J$@$j$G$9$$$^$;$s!w%(%/%5$G$9!#(J

$@%I%a%$%s!&%M!<%`!&%5!<%P!<(J (DNS) $@$K4X$7$F<ALd$G$9!#(J
$@$A$g$C$H9~$_F~$C$F$o(J$@$+$j$K$/$$$+$bCN$l$^$;$s$,!"(J
$@$G$-$k$@$1$o$+$j$d$9$/=q$$$?$D$b$j$G$9!#(J

$@2<$N$h$&$J%^%7%s9=@.$G(J DNS $@$r2T(J$@F/$5$;$?$$$H;W$C$F$$$^$9!#(J

$@(#(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@($(J
       	{foo.co.jp} zone	    
$@("(.(J$@(,(,(,(,(,(/(J    $@(.(,(,(,(,(,(/(J  $@("(J
  $@(-(J [camel]  $@(-(J    $@(-(J[elephant]$@(-(J  
$@("(-(J192.9.9.1 $@(-(J    $@(-(J192.9.9.5 $@(-(J  $@("(J
  $@(1(,(8(,(,(,(0(J    $@(1(8(,(,(,(,(0(J  
$@(&(J  $@(!("(!(J  $@(!(J  $@(!(J  $@(!("(!(J  $@(!(J  $@(!(J  $@(%(J
      $@('(!(!(!(!(J$@(!(!(!(*(!(!(!(((!(!(!(!(!($(J
$@(#(J  $@(!("(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!("(!(J  $@(!(J  $@(!("(!(J  $@(!(J  $@($(J
      $@("(J{sub1.foo.co.jp} zone $@("(J	  $@("(J         
$@("(.(,(:(,(,(,(/(J    $@(.(,(,(,(,(:(/(J    $@(.(,(:(,(,(,(/("(J
  $@(-(J[lizard]  $@(-(J    $@(-(J [snake]  $@(-(J    $@(-(J [lion]   $@(-(J
$@("(-(J192.9.9.2 $@(-(J    $@(-(J192.9.9.3 $@(-(J    $@(-(J192.9.9.4 $@(-("(J
  $@(1(,(,(,(J$@(,(,(0(J    $@(1(,(,(,(,(,(0(J    $@(1(,(,(,(,(,(0(J
$@(&(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(!(J  $@(%(J

($@Cm(J$@#1(J) {    } $@Fb$O%I%a%$%sL>$rI=$9!#(J
       [    ] $@Fb$O%[%9%HL>$rI=$9!#(J
       192.$@!D(J $@$O(J IP $@%"%I%l%9$rI=(J$@$9!#(J
($@Cm#2(J) $@%I%a%$%sL>!"%[%9%HL>!"(JIP $@%"%I%l%9$J$I$O$"$/$^$G%5%s%W%k$G$9!#(J

[camel]  : {foo.co.jp} $@$N#1(J$@<!%5!<%P!<(J
           {sub1.foo.co.jp} $@$N#2<!%5!<%P!<(J

[lizard] : {sub1.foo.co.jp} $@$N#1<!%5!<%P!<(J
           {foo.co.jp} $@$N#2<!%5!<%P!<(J


$@%V!<%H!&%U%!%$%k!J(J/etc/named.boot$@!K$O2<$N$h$&$K$J$k$H;W$$$^$9!#(J

[camel] $@$N(J /etc/named.boot
-------------------------------------------------------------------------------
domain          foo.co.jp
directory       /var/named

cache           .                       named.root
primary         0.0.127.in-addr.arpa    named.local
primary         foo.co.jp               foo.zone
primary         9.9.192.in-addr.arpa    foo.rev         $@"+"(#1(J

secondary       sub1.foo.co.jp          192.9.9.2       bak_sub1.zone
secondary       9.9.192.in-addr.arpa    192.9.9.2       bak_sub1.rev
-------------------------------------------------------------------------------

[lizard]  $@$N(J /etc/named.boot
-------------------------------------------------------------------------------
domain          sub1.foo.co.jp
directory       /var/named

cache           .                       named.root
primary         0.0.127.in-addr.arpa    named.local
primary         sub1.foo.co.jp          sub1.zone
primary         9.9.192.in-addr.arpa    sub1.rev        $@"+"(#2(J

secondary       foo.co.jp               192.9.9.1       bak_foo.zone
secondary       9.9.192.in-addr.arpa    192.9.9.1       bak_foo.rev
-------------------------------------------------------------------------------


$@$G!"LdBj$J(J$@$N$O(J $@"(#1!""(#2(J $@$G<($7$?!V%[%9%H>pJs5U0z$-MQDj5A%U%!%$%k!W(J
$@$J$N$G$9$,!"$I$A$i$N%I%a%$%s$bF1$8#C%/%i%9(J$@$N(J IP $@%"%I%l%9$r;H$C$F$$$k(J
$@$?$aN>J}$H$b!V(J9.9.192.in-addr.arpa$@!W$H$$$&%(%s%H%j$,$G$-$F$7$^$$$^$9!#(J
$@$3$N(J$@$h$&$J@_Dj$G!"(J[camel], [lizard] $@6&$K(J DNS $@$O$H$j$"$($:2TF/$9$k$N(J
$@$G$9$,!"(Jnslookup $@$J$I$G(J {foo.co.jp} $@$+(J$@$i(J {sub1.foo.co.jp} $@$K$"$k%[%9%H(J
$@$N(J IP $@%"%I%l%9$r;H$C$F5U0z$-$7$h$&$H$7$F$b=PMh$^$;$s!#5U$bF1$8$G!"(J
{sub1.foo.co.jp} $@$+$i(J {foo.co.jp}$@$K$"$k%[%9%H$N(J IP $@%"%I%l%9$r;H$C$F(J
$@5U0z$-$7$h$&$H$7$F$b=PMh$^$;$s!#(J

$@$=$3$G<ALd$J$N$G$9$,!"(J
$@#1!K(J $@Nc$($P(J {sub1.foo.co.jp} $@$N%M%C%H%o!<%/%"%I%l%9$r(J 192.9.10 $@$J$I(J
     {foo.co.jp} $@$H0[$J$C$?$b$N$K$7$J$$$H2r7h$7$J$$LdBj$J$N$G$7$g$&$+!)(J
     $@$=$l$H$b;d$N4*0c$$!)(J

$@#2!K(J {foo.co.jp}, {sub1.foo.co.jp} $@6&$K(J 192.9.9 $@$H$$$&%M%C%H%o!<%/(J
     $@%"%I%l%9$G;H$($k$h$&$J(J DNS $@$N@_Dj$r$4B8CN(J$@$G$7$?$i65$($F2<$5$$!#(J

$@#3!K(J $@!V5U0z$-!W$O@dBP$KI,MW$J$b$N$J$N$G$7$g$&$+!#!V5U0z$-!W$,=PMh$J$$$H(J
     $@:$$kNc$J$I$,$"$l$P65$($F2<$5$$!#(J

$@#4!K(J $@$=$NB>!"$J$K$+%"%I%P%$%9$,$"$l$P$h$m$7$/$*4j$$$7$^$9!#(J

$@$A$J$_(J$@$K%^%7%s$H#O#S$O$=$l$>$l(J SPARCstation2, SunOS4.1.1 Rev.B $@$G$9!#(J

$@%K%e!<%9$K%U%)%m!<$7$F$$$?$@$$$F$b!"(J$@D>@\%a!<%k$7$F$$$?$@$$$F$b7k9=$G$9!#(J
$@2?$+$A$g$C$H$7$?>pJs$G$b9=$$$^$;$s!#$*65$(4j$$$^$9!#(J_o_
--
					$@B.?e(J $@7r0l(J
					  $@#N#K!]#E#X#A(J $@5;=QIt(J
					  hayami@end.nk-exa.co.jp
Newsgroups: fj.lan