Applied Mathematics 8 (2008)
¼ø¶È»ñÎÁ/Âè11²ó
¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¤·¤ÆºîÀ®
³«»Ï¹Ô:
#contents
* DNS µÕ°ú¤¤Î»ÅÁÈ¤ß [#he054150]
BIND ¤ÎÀßÄê¤ò»Ï¤á¤ëÁ°¤Ë¡¤µÕ°ú¤¤Î»ÅÁȤߤˤĤ¤¤Æ¤â¿¨¤ì¤Æ¤ª...
¼Â¤Ï¡¤ÍøÍѼԤΤ褯¤¢¤ëľ´¶¤È°Û¤Ê¤ê¡¤DNS ¤ÎµÕ°ú¤(IP ¥¢¥É...
IP ¥¢¥É¥ì¥¹¤â FQDN ¤Î¤è¤¦¤Ë³¬Áع½Â¤¤ò¤·¤Æ¤¤¤ë¤³¤È¤òÍøÍѤ·...
¡ÖIP ¥¢¥É¥ì¥¹¤â¥Û¥¹¥È̾¤Î°ì¼ï¤Ç¤¢¤ë¤È¤ß¤Ê¤·¤Æ DNS ¤Î»ÅÁÈ...
¤³¤È¤ÇµÕ°ú¤¤ò¼Â¸½¤·¤Æ¤¤¤ë.
¶ñÂÎŪ¤Ë¤Ï¡¤"in-addr.arpa." ¤È¤¤¤¦µÕ°ú¤ÀìÍѤÎÆÃÊ̤ʥɥá...
&ref(./warning.png); ¥É¥á¥¤¥ó¤Î¥Ä¥ê¡¼¹½Â¤¤È¡¤IP ¤Î¥Ä¥ê¡¼...
Î㤨¤Ð¡¤192.168.125.91 ¤È¤¤¤¦ IP ¥¢¥É¥ì¥¹¤Ï¡¤91.125.168.1...
CENTER:&ref(./inverse-IPdomain.png);
CENTER:IP ¤¬ 192.168.125.91 ¤Ç¤¢¤ë¥Þ¥·¥ó¤ÎµÕ°ú¤Íѥɥᥤ...
&br;
µÕ°ú¤ÀßÄê¤Ç¤Ï¤³¤ÎÃ챤¬É¬ÍפʤΤdzФ¨¤Æ¤ª¤³¤¦.
dig ¥³¥Þ¥ó¥É¤Ê¤É¤Ç¡¤¾å¤Î»ÅÁȤߤò¼Â´¶¤·¤Æ¤ß¤è¤¦.
¶ñÂÎŪ¤Ë¤Ï¡¤Î㤨¤Ð¥Þ¥·¥ó q01.cl.math.sci.osaka-u.ac.jp = ...
host -t PTR 91.125.168.192.in-addr.arpa.
¤È¤¹¤ë¤È¡¤
> 91.125.168.192.in-addr.arpa domain name pointer q01.cl....
¤È¤·¤Æ¡¤³Î¤«¤Ë¤³¤Î°ú¤Êý¤ÇÅú¤¨¤¬Ê֤äƤ¯¤ë¤³¤È¤¬Ê¬¤«¤ë.
(¤¿¤À¤·¡¤¤³¤ì¤òËè²ó¤ä¤ë¤Î¤ÏÌÌÅݤÀ¤«¤é¤«¡¤¤¿¤¤¤Æ¤¤¤Î¥³¥Þ¥ó...
ƱÍͤˡ¤dig ¥³¥Þ¥ó¥É¤Ç¤â¡¤
dig -t PTR 91.125.168.192.in-addr.arpa.
¤È¤¹¤ì¤Ð¤è¤¤¤·¡¤nslookup ¥³¥Þ¥ó¥É¤Ç¤â¡¤
nslookup -q=PTR 91.125.168.192.in-addr.arpa.
¤È¤¹¤ì¤Ð¡¤ËÜÍè¤Î·Á¤Ç¤ÎµÕ°ú¤¤¬¤Ç¤¤ë.
&ref(./warning.png); ¾å¤ÎÎã¤Ç¤Ï¡¤Ì䤤¹ç¤ï¤»¥¿¥¤¥×¤ò¥ì¥³¡¼...
&ref(./notes.png); ¼«Ê¬¤Î¥Þ¥·¥ó¤Î IP ¥¢¥É¥ì¥¹¤ò»È¤Ã¤Æ¡¤¾å...
* DNS Ì䤤¹ç¤ï¤»¥¯¥é¥¤¥¢¥ó¥È¤ÎÀßÄê [#m5cfe5be]
¥µ¡¼¥Ð BIND¤ÎÀßÄê¤ÎÁ°¤Ë¡¤DNS ¤ÎÌ䤤¹ç¤ï¤»¤ÎÀßÄê¤Ï FreeBSD...
FreeBSD ¤Ç¤Ï DNS Ì䤤¹ç¤ï¤»¤ò¹Ô¤¦»þ¤ÎÀßÄê¤Ï´ðËÜŪ¤Ë /etc/...
¾ÜºÙ¤Ï man resolv.conf ¤â¤·¤¯¤Ï jman resolv.conf ¤È¤·¤Æ¥Þ...
| ¥ª¥×¥·¥ç¥ó | Îã(¤É¤ì¤â1¹Ô¤Ç½ñ¤«¤ì¤ë) | ÀâÌÀ |h
| nameserver | nameserver 192.168.125.14 | DNS ¤Î(ºÆµ¢Åª...
| domain | domain cl.math.sci.osaka-u.ac.jp | ¥í¡¼¥«¥ë¥É...
| search | search math.sci.osaka-u.ac.jp sci.osaka-u.ac....
&ref(./notes.png); /etc/resolv.conf ¤Î search ¥ª¥×¥·¥ç¥ó...
¶ñÂÎŪ¤Ë¤Ï¡¤
> search cl.math.sci.osaka-u.ac.jp math.sci.osaka-u.ac.j...
¤È¤¤¤¦¹Ô¤ò /etc/resolv.conf ¤Ë²Ã¤¨¤¿¸å¡¤
&ref(./warning.png); 1¹Ô¤Ç½ñ¤¯¤³¤È!
host www
¤ä
dig +search -t ANY mail
¤Ê¤É¤È¤·¤Æ¤ß¤è¤¦.
&ref(./warning.png); dig ¥³¥Þ¥ó¥É¤Ï¡¤¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï searc...
* DNS ¥µ¡¼¥Ð¤Î¿½Å²½ [#r6504da1]
¤µ¤Æ¡¤¤½¤í¤½¤í DNS ¥µ¡¼¥Ð¤ÎÏÃ¤Ë°Ü¤í¤¦.
¤Þ¤º DNS ¥µ¡¼¥Ð¤Î¿½Å²½¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤Æ¤ª¤³¤¦.
DNS ¥µ¡¼¥Ð¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ÇÈó¾ï¤Ë½ÅÍפÊÌò³ä¤ò²Ì¤¿¤¹¤â¤Î...
¤½¤³¤Ç¡¤DNS ¥µ¡¼¥Ð¤Ï´ðËÜŪ¤Ë2²Õ½ê°Ê¾å¤Ë¿½Å²½¤¹¤ë¤³¤È¤Ë¤Ê...
&ref(./warning.png); ¤¤¤Þ¤Þ¤Ç dig Åù¤Ç DNS ¾ðÊó¤ò¸«¤¿¤È¤...
¤½¤·¤Æ¡¤Â¿½Å²½¤·¤¿ºÝ¤Î¥Ç¡¼¥¿¤ÎÀ°¹çÀ¤ä¹¹¿·¤Ë¤Ä¤¤¤Æ¤â¡¤¤...
¤³¤ì¤Ï¡¤1¤Ä¤Î¥¾¡¼¥ó(1¤Ä¤Î DNS ¾ðÊó¤ÎÀÕǤÈϰϤȻפ¨¤Ð¤è¤¤)...
¤½¤¦¤·¤Æ¡¤¥ª¥ê¥¸¥Ê¥ë¾ðÊ󤬥ޥ¹¥¿¡¼¥µ¡¼¥Ð¤«¤é¥¹¥ì¡¼¥Ö¥µ¡¼...
¤³¤ì¤ò¥¾¡¼¥óžÁ÷¤È¤¤¤¦.¥¾¡¼¥óžÁ÷¤â DNS ¥µ¡¼¥Ð¤Î»Å»ö¤Ê¤Î...
¤Ê¤ª¡¤DNS Ì䤤¹ç¤ï¤»¤ò¹Ô¤¦¥¯¥é¥¤¥¢¥ó¥È¤«¤é¸«¤ë¤È¥Þ¥¹¥¿¡¼...
* DNS ¥µ¡¼¥Ð¤Î¿Æ»Ò´Ø·¸ [#lb9157a0]
¼¡¤Ë¡¤DNS ¥µ¡¼¥Ð¤Î¿Æ»Ò´Ø·¸¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤è¤¦.
³Æ¡¹¤Î DNS ¥µ¡¼¥Ð¤¬¶É½êŪ¤Ê¾ðÊó¤ò»ý¤Ã¤Æ¤¤¤ë¤À¤±¤ÇÁ´ÂΤ¬¤¦...
¤Þ¤º¡¤DNS ¤¬³¬ÁØŪ¤Ç¤¢¤ê¡¤¤½¤Î¾ðÊó¤ò´ÉÍý¤¹¤ë DNS ¥µ¡¼¥Ð¤â...
¤µ¤Æ¡¤¤Ç¤Ï¤½¤Î³¬ÁØ¡¤¿Æ»Ò´Ø·¸(¿Æ¤¬¤è¤êÂ礤ʥɥᥤ¥ó¤ò¡¤»Ò...
¤³¤ì¤Ï¡¤¡Ö¿Æ¥µ¡¼¥Ð¤¬¡¤»Ò¥µ¡¼¥Ð¤¬¥µ¥Ö¥É¥á¥¤¥ó¤ò´ÉÍý¤·¤Æ¤¤...
&ref(./warning.png); »Ò¤Ï¿Æ¤òľÀÜÃΤëɬÍפϤʤ¤. ¤Ê¤ó¤Ê¤é...
¶ñÂÎŪ¤Ë¤Ï¡¤¿Æ¥µ¡¼¥Ð¤Î¤½¤Î¥¾¡¼¥ó(¥É¥á¥¤¥ó)¾ðÊó¤ÎÃæ¤Ë¡¤»Ò...
&ref(./warning.png); ¤³¤ì¤¬ DNS ¥µ¡¼¥Ð´ÉÍý¤Î°ìÈ֤Υݥ¤¥ó...
ʬ¤«¤ê°×¤¤¤è¤¦¤Ë¶ñÂÎÎã¤Ç½ñ¤³¤¦.
Î㤨¤Ð¡¤¤¢¤ë¿Æ¥µ¡¼¥Ð¤¬ aaa.com ¥É¥á¥¤¥ó¤ò´ÉÍý¤·¤Æ¤¤¤Æ¡¤»Ò...
¤³¤Î»þ¤Ï¡¤¿Æ¥µ¡¼¥Ð¤Î aaa.com ¥¾¡¼¥ó¾ðÊóÆâ¤Ë
> sub.aaa.com. IN NS ns.sub.aaa.com.
> ns.sub.aaa.com. IN A 192.168.125.105
¤È½ñ¤¯¤³¤È¤Ë¤Ê¤ë.
&ref(./warning.png); Åö¤¿¤êÁ°¤À¤¬¡¤Æó¹ÔÌܤξðÊ󤬤³¤³¤Ë½ñ...
¤µ¤Æ¡¤¤³¤ÎÏäòµÕ¤Ë¸À¤¨¤Ð¡¤
¡Ö¿Æ¥µ¡¼¥Ð¤¬¡¤»Ò¥µ¡¼¥Ð¤¬¥µ¥Ö¥É¥á¥¤¥ó¤ò´ÉÍý¤·¤Æ¤¤¤ë¤³¤È¤ò...
¾õ¶·¤Ë¤¹¤ì¤Ð¡¤¤½¤Î¥µ¥Ö¥É¥á¥¤¥ó¤Î¾ðÊó¤Ï¡Ö»Ò¥µ¡¼¥Ð¤ËľÀÜÌä...
¼«Âð¤Ç¤Î¤ßÄÌÍѤ¹¤ë¥µ¥Ö¥É¥á¥¤¥ó¤Ê¤É¤Ï¡¤¤³¤¦¤·¤Æ´ÉÍý¤¹¤ë¤È...
¤â¤Á¤í¤ó¡¤¤³¤Î¾ì¹ç¤Ï¤³¤Î¥µ¥Ö¥É¥á¥¤¥ó¾ðÊó¤ò»È¤Ã¤Æ³°¤«¤é¥¢...
* BIND ¤Î´ðËÜÀßÄê [#m9a6d616]
BIND ¤Î»Å»ö¤Ï¥¾¡¼¥óÀßÄê¤ä¥ê¥¾¥ë¥Ð(DNSÌ䤤¹ç¤ï¤»¤ËÅú¤¨¤ë¤³...
¤³¤ì¤À¤±¤Ç¤â½¼Ê¬°ÕÌ£¤¬¤¢¤ë.
** named.conf ¤ÎÀßÄê [#r8d1d939]
/etc/namedb (ËÜÅö¤Ï /var/named/etc/namedb )°Ê²¼¤Ë¡¤BIND ...
¤³¤ì¤ò½ñ¤´¹¤¨¤ì¤Ð¡¤BIND ¤ÎÂç¤Þ¤«¤ÊÆ°ºî¤¬ÊѤ¨¤é¤ì¤ë.
¤Á¤Ê¤ß¤Ë¡¤named.conf ¤Îʸˡ¥Á¥§¥Ã¥¯ÀìÍÑ¤Ë named-checkconf...
¤µ¤Æ¡¤¥³¥á¥ó¥È¤ò̵»ë¤¹¤ë¤È¡¤¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤Ë...
> options {
> ¡¡¡¡¡¡¡¡¡¡directory¡¡¡¡¡¡¡¡"/etc/namedb";
> ¡¡¡¡¡¡¡¡¡¡pid-file¡¡¡¡¡¡¡¡¡¡"/var/run/named/pid";
> ¡¡¡¡¡¡¡¡¡¡dump-file¡¡¡¡¡¡¡¡"/var/dump/named_dump.db";
> ¡¡¡¡¡¡¡¡¡¡statistics-file "/var/stats/named.stats";
> ¡¡¡¡¡¡¡¡¡¡listen-on¡¡¡¡¡¡¡¡{ 127.0.0.1; };
> ¡¡¡¡¡¡¡¡¡¡disable-empty-zone "255.255.255.255.IN-ADDR....
> ¡¡¡¡¡¡¡¡¡¡disable-empty-zone "0.0.0.0.0.0.0.0.0.0.0.0....
> ¡¡¡¡¡¡¡¡¡¡disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0....
> ¡¡¡¡¡¡¡¡¡¡forwarders {
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡127.0.0.1;
> ¡¡¡¡¡¡¡¡¡¡};
> };
> &br;
> zone "." { type hint; file "named.root"; };
> &br;
> zone "localhost" { type master; file "master/lo...
> zone "127.in-addr.arpa" { type master; file "master/lo...
> zone "255.in-addr.arpa" { type master; file "master/em...
> &br;
> zone "0.ip6.arpa" { type master; file "master/lo...
> &br;
> zone "0.in-addr.arpa" { type master; file "m...
> &br;
> zone "10.in-addr.arpa" { type master; file "m...
> zone "16.172.in-addr.arpa" { type master; file "m...
> zone "17.172.in-addr.arpa" { type master; file "m...
> zone "18.172.in-addr.arpa" { type master; file "m...
> ¡Ä»÷¤¿¤è¤¦¤ÊÀßÄ꤬³¤¯¤Î¤Çά¡Ä
¤³¤ì¤ò¤ß¤ë¤È¤ª¤ª¤è¤½Ê¬¤«¤ë¤è¤¦¤Ë¡¤¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÀßÄê·Á¼°...
¼ÂºÝ¤Ë¤Ï¾¤Ë acl(¥¢¥¯¥»¥¹À©¸Â¤ò¤«¤±¤ë), include(¥Õ¥¡¥¤¥ë...
*** named.conf ¤Î options [#fe19397f]
named.conf ¤òÊÔ½¸¤¹¤ëÁ°¤Ë, ¤¤¤Ä¤â¤Î¤è¤¦¤Ë¤Þ¤º¤Ï¥Ð¥Ã¥¯¥¢¥Ã...
&ref(./warning.png); ¤¤¤Ä¤Ç¤â¤È¤Ë¤«¤¯¥Ð¥Ã¥¯¥¢¥Ã¥×¤À! ÊʤË...
¤µ¤Æ¡¤options ¤Ç¤Ï BIND ¼«¿È¤ÎÆ°ºî¤ò·è¤á¤ë¥ª¥×¥·¥ç¥ó¤òÀß...
¥Ç¥Õ¥©¥ë¥È¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤â¤Î¤Ï¤Û¤Ü¤½¤Î¤Þ¤Þ»È¤¨¤ë¤â¤Î¤È¤·...
&ref(./notes.png); ¤¿¤À¤·¡¤¤³¤ì¤«¤é³§¤Î¥µ¡¼¥Ð¤Ï³Æ¡¹Â¾¤«¤é...
¤½¤Î¤¿¤á¤Ë¤Ï¡¤Â¾¤Î¥Þ¥·¥ó¤«¤é¤ÎÌ䤤¹ç¤ï¤»¤ò̵»ë¤·¤Ê¤¤¤è¤¦...
¤½¤³¤Ç¡¤¼«Ê¬¼«¿È¤«¤é¤ÎÌ䤤¹ç¤ï¤»¡Ö¤Î¤ß¡×¤òµö²Ä¤·¤Æ¤¤¤ëÀß...
> // listen-on { 127.0.0.1; };
¤È, ¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ̵¸ú¤Ë¤·¤Æ¤ª¤³¤¦.
¾¤Ë options ¤ÇÀßÄê¤Ë¤è¤¯»È¤¤¤½¤¦¤Ê¤â¤Î¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î...
| ¥¹¥Æ¡¼¥È¥á¥ó¥È | ÀßÄêÎã | ÀâÌÀÅù |h
| forward | forward only; ¤â¤·¤¯¤Ï forward first; | only ...
| forwarders | forwarders {192.168.125.xxx; 192.168.125.y...
| recursion | recursion yes; ¤â¤·¤¯¤Ï recursion no; | BIN...
| allow-query | allow-query { 192.168.125.xxx; 127.0.0.1;...
| allow-recursion | allow-recursion { 192.168.125.xxx; 12...
| allow-transfer | allow-transfer { 192.168.125.xxx; 127....
¾¤Ë¤âºÙ¤«¤¤ÀßÄ꤬Âô»³¤¢¤ë¤Î¤Ç¡¤¶½Ì£¤¢¤ë¿Í¤Ï (j)man named...
&ref(./notes.png); ¤µ¤Æ¡¤¤Þ¤º¤Ï¡ÖÁ´Éô¿ÍǤ¤»¤Ë¤·¤Æ¤·¤Þ¤¦¡×...
named.conf ¤Î options Éôʬ¤òÃí°Õ¿¼¤¯½¤Àµ¤·¤Æ¡¤¼¡¤ÎÆâÍƤË...
> forward only;
> forwarders { 192.168.125.14; };
&ref(./warning.png); named.conf ¤Î½ñ¼°¤Ç¤Ï¡¤Æó¼ïÎà¤Î¡Ö¥³...
¥³¥á¥ó¥È¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¤È¤³¤í¤Ë²¿¤ò½ñ¤¤³¤ó¤Ç¤â¡¤ÀßÄê¤Ë...
½¤Àµ¤·¤¿¤é¡¤Ç°¤Î°Ù¤Ë named-checkconf ¤Ç¥Á¥§¥Ã¥¯¤·¤Æ¤ª¤³¤¦.
named-checkconf
²¿¤â¸À¤ï¤ì¤Ê¤±¤ì¤Ð¡¤Ê¸Ë¡¾å¤ÎÌäÂê¤Ï¤Ê¤¤¤È¤¤¤¦¤³¤È¤À. °Â¿´...
// ¤¢¤È¡¤Ç°¤Î°Ù¤Ë
// named-checkconf -z
// ¤È¤â¤·¤Æ¤ª¤³¤¦(¥¨¥é¡¼¤¬¤Ç¤ë¤Ï¤º¤À. ¾Ü¤·¤¯¤Ï¸å½Ò.).
// *** ¼Â½¬ [#w2df7607]
// ¾å¤Þ¤Ç¤Îºî¶È¤ò¹Ô¤¨.
// ¤Þ¤¿¡¤¾å¤ÎÀßÄê¤Î°ÕÌ£¤ò½Ò¤Ù¤è(listen-on ÀßÄê¤Î°ÕÌ£¤âÄ´...
*** named.conf ¤Î zone [#v248cc34]
¤Þ¤¿¡¤named.conf ¤Ë¤Ï zone ¤È¤¤¤¦¹àÌܤ¬¤¢¤ë.
¤³¤ì¤¬¡Ö¼«Ê¬¤¬´ÉÍý¤¹¤ë¥¾¡¼¥ó(¥É¥á¥¤¥ó¤È»×¤Ã¤Æ¤è¤¤)¤Ë¤Ä¤¤...
¤¿¤À¡¤Îɤ¯¤ß¤ë¤Èʬ¤«¤ë¤è¤¦¤Ë¡¤¶ñÂÎŪ¤Ê¾ðÊó¤Ï named.conf ...
> file "named.root";
¤Ê¤É¤È¤·¤ÆÊÌ¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤à¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë.
¤µ¤Æ¡¤Àè¤Ë¤Þ¤º¤³¤³¤Ç¤Ï named.conf ¤Ç¤Î zone ¤Ë¤Ä¤¤¤ÆÀâÌÀ...
zone ¹àÌܤϰìÈ̤Ë
> zone "¥¾¡¼¥ó̾(¢â¥É¥á¥¤¥ó̾)" {
> ¡¡¡¡¡¡¡¡type ¥¾¡¼¥ó¤Î¥¿¥¤¥×; &color(blue){¢« ¿½Å²½¥µ¡¼...
> ¡¡¡¡¡¡¡¡file ¶ñÂÎŪ¤ÊÀßÄêÆâÍƤò½ñ¤¤¤Æ¤¢¤ë¥Õ¥¡¥¤¥ë̾;
> ¡¡¡¡¡¡¡¡masters { ¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤Î IP¥¢¥É¥ì¥¹ }; &color...
> };
¤È¤¤¤¦·Á¤ò¤·¤Æ¤¤¤ë.
°Ê²¼¡¤ÀâÌÀ¤·¤è¤¦.
++ ¥¾¡¼¥ó̾¤Ï¤Þ¤¢¤ï¤«¤ë¤À¤í¤¦.
&br;
++ ¥¾¡¼¥ó¤Î¥¿¥¤¥×¤Ï¡¤Á´Éô¤Ç hint(¥ë¡¼¥È¥µ¡¼¥ÐÍѤÎÆÃÊ̤ʤâ...
&br;
++ masters ¤Ï¡¤¼«Ê¬¤¬¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤Ç¤¢¤ë¾ì¹ç¤Ë¡¤¥Ç¡¼¥¿¤ò...
&br;
++ file ¤Ï¡¤¼«Ê¬¤¬¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤Î¾ì¹ç¤Ï¼«Ê¬¤Çºî¤ê¡¤maste...
¼«Ê¬¤¬¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤Î¾ì¹ç¡¤slave ¥Ç¥£¥ì¥¯¥È¥ê¤Î²¼¤Ë¥³¥Ô...
¤µ¤Æ¡¤¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò "file" ¹àÌܤËÃåÌܤ·¤ÆʬÎष¤Æ¤ß...
&ref(./warning.png); master/empty.db ¥Õ¥¡¥¤¥ë¤Ï, ÀßÄê¤Ë»È...
¤Ä¤Þ¤ê¡¤¤È¤ê¤¢¤¨¤º¤³¤ì¤ÇºÇÄã¸Â¤ÏÆ°¤¤½¤¦¤À.
&ref(./warning.png); ºÇ°¤Ç¤â¡¤¥ë¡¼¥È¥É¥á¥¤¥ó¤Î¾ðÊ󤵤¨¤¢...
// ¤½¤·¤Æ¤½¤ì¤é¤òÎɤ¯Æɤà¤È¡¤zone "0.0.127.IN-ADDR.ARPA"(...
// ¤½¤³¤Ç¤Þ¤º¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òºî¤í¤¦.
// ¤È¤Ï¤¤¤Ã¤Æ¤â¤È¤¯¤Ë¹Í¤¨¤ëɬÍפϤʤ¯¤Æ¡¤root ¤Ç
// cd /etc/namedb
// sh ./make-localhost
//¤È¤¹¤ì¤Ð¼«Æ°Åª¤Ë¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ...
// ¤³¤ì¤Ç¤È¤ê¤¢¤¨¤º¥Ç¥Õ¥©¥ë¥ÈÀßÄê +¥¢¥ë¥Õ¥¡ ¤¬ºÑ¤ó¤À¤Ï¤º...
// named-checkconf -z
// ¤È¤·¤Æ¡¤¥¨¥é¡¼¤¬¤Ç¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤è¤¦.
** ºÇÄã¸Â¤Îµ¯Æ°¥Á¥§¥Ã¥¯ [#b5409769]
&ref(./notes.png); ¤È¤ê¤¢¤¨¤º¡¤¤³¤ì¤Ç BIND ¤ÏºÇÄã¸Â¤ÏÆ°¤¯...
¤È¤¤¤¦¤³¤È¤Ç¡¤/etc/resolv.conf ¤Î nameserver ¹àÌܤò
> nameserver 127.0.0.1
¤È½¤Àµ¤·¡¤/etc/rc.conf ¤Ë
> named_enable="YES"
¤òŬÀڤʾì½ê¤Ë½ñ¤¹þ¤ó¤À¾å¤Ç¥ê¥Ö¡¼¥È¤·¤è¤¦((ÀÎ¤Ï named_fl...
¤½¤·¤Æ¡¤µ¯Æ°¤·¤¿¤é¤Þ¤º
ps -axuww | grep named
¤È¤·¤Æ¤ß¤è¤¦.
> /usr/sbin/named -t /var/named -u bind
¤È¤¤¤¦¤Î¤¬¸«¤¤½Ð¤»¤ì¤Ð¡¤ÀßÄê¤Ï¤Ò¤È¤Þ¤º¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤ë.
¤µ¤é¤Ë¡¤
dig www.osaka-u.ac.jp
¤Ê¤É¤È¤·¤Æ¤ß¤ë. ¤½¤Î¤È¤¡¤
> ; <<>> DiG 9.4.2 <<>> www.osaka-u.ac.jp
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38...
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3,...
> &br;
> ;; QUESTION SECTION:
> ;www.osaka-u.ac.jp. ¡¡¡¡¡¡¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡ A
> &br;
> ;; ANSWER SECTION:
> www.osaka-u.ac.jp. ¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> &br;
> ;; AUTHORITY SECTION:
> osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> &br;
> ;; ADDITIONAL SECTION:
> a.osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 217104¡¡¡¡¡¡¡¡¡¡ IN...
> sigw.sinet.ad.jp.¡¡¡¡¡¡¡¡¡¡ 40463¡¡¡¡¡¡¡¡¡¡ IN...
> b.osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 217776¡¡¡¡¡¡¡¡¡¡ IN...
> &br;
> ;; Query time: 0 msec
> ;; &color(red){SERVER: 127.0.0.1#53(127.0.0.1)};
> ;; WHEN: Thu Jan 29 01:57:02 2009
> ;; MSG SIZE rcvd: 159
¤Ê¤É¤È¤Ê¤ê¡¤127.0.0.1¡¤¤Ä¤Þ¤ê¼«Ê¬¼«¿È¤¬ DNS ¥µ¡¼¥Ð¤È¤·¤Æ...
¤³¤ì¤Ç¡¤¾¯¤Ê¤¯¤È¤â BIND ¤ÎÆ°ºî¤¬³Îǧ¤Ç¤¤¿¤³¤È¤Ë¤Ê¤ë.
* BIND ¤Ç¥¾¡¼¥óÀßÄê [#e8aaec77]
¤µ¤Æ¡¤BIND ¤ÎËܼÁŪ¤ª»Å»ö¤Ç¤¢¤ë¡¤¥¾¡¼¥ó(¥É¥á¥¤¥ó)ÀßÄê¤ò¤·...
¤Ä¤Þ¤ê¡¤¼«Ê¬¤Î¡Ö²¼¡×¤Ë¥É¥á¥¤¥ó¤òºî¤ë¤Î¤À!
¤½¤ì¤Ç¤Ï¡¤³Æ¼«¤Î¥Þ¥·¥ó¤Ç¼ÂºÝ¤Ë¥µ¥Ö¥É¥á¥¤¥ó¤òºî¤Ã¤Æ, ¤½¤Î...
¤Þ¤º¡¤³Æ¡¹¤Î¥µ¥Ö¥É¥á¥¤¥ó¤Ï¼¡¤Î¤è¤¦¤Ê¤â¤Î¤È¤¹¤ë.
[[¼ø¶È»ñÎÁ/Âè03²ó ¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄê>¼ø¶È»ñÎÁ/Âè03²ó#f242...
| ¹àÌÜ | ÀßÄêÃÍ | È÷¹Í |h
| ¥µ¥Ö¥É¥á¥¤¥ó̾ | sub&color(red){PCÈÖ¹æ};.cl.math.sci.os...
| »È¤¨¤ë IP | 192.168.125.&color(red){105+(5*PCÈÖ¹æ)}; £...
| ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð | 狼Íè¤Æ¤¤¤ë¿Í¤ÈÁȤó¤Ç¡¤¤½¤Î¿Í¤Î¥µ¡¼¥Ð...
¤È¤·¤è¤¦.
&ref(./notes.png); ¤³¤Î¸å¤Îºî¶È¤ò¹Ô¤¦Á°¤Ë¡¤forward only ...
¶ñÂÎŪ¤Ë¤Ï¡¤/etc/namedb/named.conf ¤Î forward only ¹Ô¤ò¡Ö...
** ¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤ÎÀßÄê - named.conf ¤ÎÀßÄê [#d144237f]
&ref(./notes.png); ¤Ç¤Ï¡¤¾åµ¤ÎÀßÄê¤Ë±è¤Ã¤Æºî¶È¤·¤è¤¦.
Î㤨¤Ð¡¤PC Èֹ椬 17 ¤Î¥Þ¥·¥ó¤Ç¤Ï
> zone¡¡"sub17.cl.math.sci.osaka-u.ac.jp"¡¡{
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡type¡¡master;
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡file¡¡"master/sub17.db";
> };
¤È¤¤¤¦ÀßÄê¤ò named.conf ¤Ë²Ã¤¨¤Æ¡¤zone "sub17.cl.math.sci...
¤â¤Á¤í¤ó¡¤¤³¤¦¤·¤¿ÀßÄê¤ò²Ã¤¨¤¿¤é
named-checkconf
¤È¤·¤ÆÀßÄê¥ß¥¹¤¬¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤Æ¤ª¤³¤¦.
** ¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤ÎÀßÄê - ¥¾¡¼¥ó¥Õ¥¡¥¤¥ë ¤ÎÀßÄê [#v018ab61]
&ref(./notes.png); ¼¡¤Ë¡¤´Î¿´¤Î¾ðÊó¤ò½ñ¤¤³¤à¥¾¡¼¥ó¥Õ¥¡¥¤...
¾å¤ÎÎã¤Î¾ì¹ç¤À¤È¡¤master/sub17.db ¤È¤Ê¤ë.
¤Þ¤º¡¤¿÷·Á¤Ç¤¢¤ë empty.db ¤ò¥³¥Ô¡¼¤·¤Æ¥Õ¥¡¥¤¥ë¤òºî¤í¤¦.
Î㤨¤Ð¡¤
cd /etc/namedb/master
cp empty.db sub17.db
¤È¤¹¤ë. ¤½¤ì¤«¤é¡¤sub17.db ¤òŬµ¹ÊÔ½¸¤·¤Æ¡¤º£¤ÎÎã¤Ç¤Ï
> $TTL¡¡¡¡¡¡¡¡3600
> @¡¡¡¡¡¡¡¡¡¡¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡SOA¡¡¡¡¡¡¡¡¡¡q17.cl.math....
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡NS¡¡¡¡¡¡¡¡¡¡¡¡q17.cl.mat...
> test01¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.190
> test02¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.191
> test03¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.192
> test04¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.193
> test05¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.194
¤Ê¤É¤È¤¹¤ë.
°Ê²¼¡¤ÆâÍƤò¾¯¤·ÀâÌÀ¤·¤è¤¦.
++ SOA ¤Î¹àÌܤϡ¤¤³¤Î¾ðÊó¤Î¡ÖÀÕǤ¤ò¤È¤ë¥Û¥¹¥È¤È¡¤ÀÕǤ¼Ô¤Î...
¤Á¤Ê¤ß¤Ë¡¤¥·¥ê¥¢¥ëÃͤϤ³¤Î¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤Î¡Ö¿·¤·¤µ¡×¤ò¼¨...
&ref(./warning.png); ¤À¤«¤é¡¤¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤òÊÔ½¸, ¹¹¿·¤·...
&br;
++ NS ¤Î¹àÌܤϡ¤¤³¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤ÎÌ䤤¹ç¤ï¤»¤ËÅú¤¨¤ë¥Í¡¼...
&ref(./warning.png); NS ¤ÎÀßÄê¤Ï A ¤Ê¤É¤ÎÀßÄê¤è¤ê¤âÁ°¤Ç¤Ê...
&ref(./warning.png); NS ¤ÎÀßÄê¤Ï FQDN ¤Ç½ñ¤¯¤È¤¤¤¦¤³¤È¤Ë...
&br;
++ A ¤Çʤó¤Ç¤¤¤ë¹àÌܤ¬¡¤´Î¿´¤Î¡Ö´ÉÍý¤·¤Æ¤¤¤ë¡×¾ðÊ󤽤Τâ...
¤µ¤Æ¡¤¤³¤ì¤Ç zone ÀßÄê¥Õ¥¡¥¤¥ë¤È¤·¤Æ¤Ï¤È¤ê¤¢¤¨¤ºÆ°¤¯¤Ï¤º...
¤Þ¤¿¡¤ÀßÄêÁ´ÂΤˤĤ¤¤Æ¤Ï¡¤¤Ä¤®¤Î¹àÌܤòÃΤäƤ¤¤ì¤ÐÂçÂÎÂç...
| ¹àÌÜ | ÀâÌÀ |h
| ³Æ¹Ô¤Î½ñ¤Êý | ''̾Á° IN ¥ì¥³¡¼¥É̾ ÀßÄê'' ¤È½ñ¤«¤ì¤ë¤³...
| @ | named.conf ¤Ç»ØÄꤷ¤¿¤½¤Î¥¾¡¼¥ó̾. ¾å¤ÎÎã¤À¤È sub17...
| ²¿¤â½ñ¤¤¤Æ¤Ê¤¤¤È¤³¤í | @ ¤È²ò¼á¤µ¤ì¤ë. ʬ¤«¤ê¤Ë¤¯¤¤¤¬¡¤...
| .¤Ç½ª¤ï¤Ã¤Æ¤¤¤Ê¤¤¥Þ¥·¥ó̾Åù | .@ ¤¬Êä¤ï¤ì¤ë |
&ref(./notes.png); ¤µ¤Æ¡¤¤³¤Î zone ¥Õ¥¡¥¤¥ë¤ò¥Á¥§¥Ã¥¯¤·¤è...
named-checkzone ¥¾¡¼¥ó̾ ¥Á¥§¥Ã¥¯¤·¤¿¤¤¥¾¡¼¥ó¥Õ¥¡¥¤¥ë
¤È¤¹¤ì¤Ð¥Á¥§¥Ã¥¯¤Ç¤¤ë. ¤³¤ÎÎã¤Ç¤Ï¡¤
named-checkzone sub17.cl.math.sci.osaka-u.ac.jp ./sub17...
¤È¤·¤Æ¡¤¥¨¥é¡¼¤¬¤Ç¤Ê¤±¤ì¤Ð¤è¤¤.
¤¦¤Þ¤¯¤¤¤Ã¤¿¤é¡¤BIND ¤ËÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤßľ¤µ¤»¤è¤¦. ¤½¤ì...
rndc reload
¤È¤¹¤ì¤Ð¤è¤¤.
¤µ¤Æ¡¤Æ°ºî¤ò³Îǧ¤·¤è¤¦. ¤½¤ì¤Ë¤Ï¡¤Â¾¤Î¥Þ¥·¥ó¤«¤é¤³¤Î¾ì¹ç¤Ï
dig test01.sub17.cl.math.sci.osaka-u.ac.jp
¤Ê¤É¤È¤·¤Æ
> ;; ANSWER SECTION:
> test01.sub17.cl.math.sci.osaka-u.ac.jp. 2959 IN A 192....
¤¬ÆÀ¤é¤ì¤ì¤Ð¤è¤¤.
** ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤ÎÀßÄê [#vecc2323]
&ref(./notes.png); ¼¡¤Ë¡¤¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤ÎÀßÄê¤ò¤·¤Æ¤ß¤è¤¦.
¤³¤ì¤Ï¥Þ¥¹¥¿¡¼¤è¤ê¡ÖÀßÄê¤Ï¡×´Êñ¤Ç¤¢¤ë¡Ä¤¬¡¤¥Þ¥¹¥¿¡¼¤È¥¹¥ì...
Î㤨¤Ð¡¤sub16.cl.math.sci.osaka-u.ac.jp ¥É¥á¥¤¥ó(¥Þ¥¹¥¿¡¼...
¤³¤Î»þ¤Ë¹Ô¤¦ÀßÄê¤ÏÆ󥫽ê¤À¤±¤Ç¤¢¤ë.
*** ¥Þ¥¹¥¿¡¼Â¦¤Î¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤Ë¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤ò NS ¤È¤·...
¶ñÂÎŪ¤Ë¤Ï¡¤
> IN NS q17.cl.math.sci.osaka-u.ac.jp.
¤ò¥µ¡¼¥Ð q16 ¤Î¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤Ë²Ã¤¨¤Æ¤ª¤¯¤À¤±¤Ç¤¢¤ë(¤¿¤À...
*** ¥¹¥ì¡¼¥Ö¦¤Î named.conf ¤Ç¥¹¥ì¡¼¥Ö¥µ¡¼¥ÐÀë¸À¤ò¤¹¤ë [#...
¥µ¡¼¥Ð q17 ¤Î named.conf ¤Ë
> zone¡¡"sub16.cl.math.sci.osaka-u.ac.jp"¡¡{
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡type¡¡slave;
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡masters¡¡{¡¡192.168.125.106;¡¡};¡¡¢«¡¡q...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡file¡¡"slave/sub16.db";
> };
¤È½ñ¤²Ã¤¨¤ë¤À¤±¤Ç¤¢¤ë. "slave/sub16.db" ¤È¤¤¤¦¥Õ¥¡¥¤¥ë...
&ref(./notes.png); 狼¤ÈÁȤó¤Ç¡¤¥¹¥ì¡¼¥Ö¥µ¡¼¥ÐÀßÄê¤Þ¤Ç¹Ô...
¤Þ¤¿¡¤Æ°ºî³Îǧ¤ò¹Ô¤Ã¤Æ¤ß¤è¤¦.
¶ñÂÎŪ¤Ë¤Ï¡¤ÀßÄê/Æ°ºî¤Þ¤Ç¤Ç¤¤¿¤È»×¤Ã¤¿¤é¡¤¾å¤ÎÎã¤Ç¸À¤¨¤Ð...
dig -t NS sub16.cl.math.sci.osaka-u.ac.jp
¤Ê¤É¤È¤·¤Æ¤ß¤Æ¡¤sub16.cl.math.sci.osaka-u.ac.jp ¤Î NS ¤È...
¾¤Ë¤â¡¤¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤Î /etc/namedb/slave ¤Ë¥³¥Ô¡¼¤µ¤ì¤Æ...
** µÕ°ú¤ÀßÄê [#zaf66a57]
¤³¤ì¤Ï¼Â¤Ï¡Ö¿Æ¥µ¡¼¥Ð¤Î»ö¾ð/ÀßÄê¡×¤ÇÂ礤¯ÊѤï¤Ã¤Æ¤¯¤ë¤Î¤Ç...
* ¥ì¥Ý¡¼¥È [#o66d2b43]
ÅÓÃæ¤Ç¡ÖÄ´¤Ù¤è¡×¤È»Ø¼¨¤µ¤ì¤¿»ö¹à¤Ë¤Ä¤¤¤ÆÄ´ºº¤ò¹Ô¤¤¡¤Êó¹ð...
º£²ó¤Ï NS, A ¥ì¥³¡¼¥É¤·¤«ÀßÄꤷ¤Ê¤«¤Ã¤¿¤¬¡¤MX Åù¤âÀßÄꤷ...
// ¤Þ¤¿¡¤5¤Ä¤Î IP ¤ò»È¤¤¤¤Ã¤Æ¤ß¤è.
¤Þ¤¿¡¤ËÜÆü¹Ô¤Ã¤¿ºî¶È¤Ë¤Ä¤¤¤ÆÊó¹ð¤»¤è.
¤â¤Á¤í¤ó³Æ¼«¤Î
+ ½ê°(³ØÉô¡¤³Ø²Ê)
+ ³ØÀÒÈÖ¹æ
+ ³Øǯ
+ »á̾
+ Æü»þ
+ ´Î¿´¤Î¥ì¥Ý¡¼¥ÈÆâÍÆ(ÆÀ¤¿Ãθ«¡¤ºî¶È¤Ë¤Ä¤¤¤Æµ¤¤Å¤¤¤¿¤³¤ÈÅù)
¤ò½ñ¤¯¤Î¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë.
* about Icons [#p90706c9]
Some icons in this page are downloadable at [[ICONFINDER:...
The "note" icon &ref(./notes.png); designed by [[Marco Ma...
and the "warning" icon &ref(./warning.png); designed by [...
Thank you Marco and Alexandre!
// &ref(./notes.png);
// &ref(./warning.png);
½ªÎ»¹Ô:
#contents
* DNS µÕ°ú¤¤Î»ÅÁÈ¤ß [#he054150]
BIND ¤ÎÀßÄê¤ò»Ï¤á¤ëÁ°¤Ë¡¤µÕ°ú¤¤Î»ÅÁȤߤˤĤ¤¤Æ¤â¿¨¤ì¤Æ¤ª...
¼Â¤Ï¡¤ÍøÍѼԤΤ褯¤¢¤ëľ´¶¤È°Û¤Ê¤ê¡¤DNS ¤ÎµÕ°ú¤(IP ¥¢¥É...
IP ¥¢¥É¥ì¥¹¤â FQDN ¤Î¤è¤¦¤Ë³¬Áع½Â¤¤ò¤·¤Æ¤¤¤ë¤³¤È¤òÍøÍѤ·...
¡ÖIP ¥¢¥É¥ì¥¹¤â¥Û¥¹¥È̾¤Î°ì¼ï¤Ç¤¢¤ë¤È¤ß¤Ê¤·¤Æ DNS ¤Î»ÅÁÈ...
¤³¤È¤ÇµÕ°ú¤¤ò¼Â¸½¤·¤Æ¤¤¤ë.
¶ñÂÎŪ¤Ë¤Ï¡¤"in-addr.arpa." ¤È¤¤¤¦µÕ°ú¤ÀìÍѤÎÆÃÊ̤ʥɥá...
&ref(./warning.png); ¥É¥á¥¤¥ó¤Î¥Ä¥ê¡¼¹½Â¤¤È¡¤IP ¤Î¥Ä¥ê¡¼...
Î㤨¤Ð¡¤192.168.125.91 ¤È¤¤¤¦ IP ¥¢¥É¥ì¥¹¤Ï¡¤91.125.168.1...
CENTER:&ref(./inverse-IPdomain.png);
CENTER:IP ¤¬ 192.168.125.91 ¤Ç¤¢¤ë¥Þ¥·¥ó¤ÎµÕ°ú¤Íѥɥᥤ...
&br;
µÕ°ú¤ÀßÄê¤Ç¤Ï¤³¤ÎÃ챤¬É¬ÍפʤΤdzФ¨¤Æ¤ª¤³¤¦.
dig ¥³¥Þ¥ó¥É¤Ê¤É¤Ç¡¤¾å¤Î»ÅÁȤߤò¼Â´¶¤·¤Æ¤ß¤è¤¦.
¶ñÂÎŪ¤Ë¤Ï¡¤Î㤨¤Ð¥Þ¥·¥ó q01.cl.math.sci.osaka-u.ac.jp = ...
host -t PTR 91.125.168.192.in-addr.arpa.
¤È¤¹¤ë¤È¡¤
> 91.125.168.192.in-addr.arpa domain name pointer q01.cl....
¤È¤·¤Æ¡¤³Î¤«¤Ë¤³¤Î°ú¤Êý¤ÇÅú¤¨¤¬Ê֤äƤ¯¤ë¤³¤È¤¬Ê¬¤«¤ë.
(¤¿¤À¤·¡¤¤³¤ì¤òËè²ó¤ä¤ë¤Î¤ÏÌÌÅݤÀ¤«¤é¤«¡¤¤¿¤¤¤Æ¤¤¤Î¥³¥Þ¥ó...
ƱÍͤˡ¤dig ¥³¥Þ¥ó¥É¤Ç¤â¡¤
dig -t PTR 91.125.168.192.in-addr.arpa.
¤È¤¹¤ì¤Ð¤è¤¤¤·¡¤nslookup ¥³¥Þ¥ó¥É¤Ç¤â¡¤
nslookup -q=PTR 91.125.168.192.in-addr.arpa.
¤È¤¹¤ì¤Ð¡¤ËÜÍè¤Î·Á¤Ç¤ÎµÕ°ú¤¤¬¤Ç¤¤ë.
&ref(./warning.png); ¾å¤ÎÎã¤Ç¤Ï¡¤Ì䤤¹ç¤ï¤»¥¿¥¤¥×¤ò¥ì¥³¡¼...
&ref(./notes.png); ¼«Ê¬¤Î¥Þ¥·¥ó¤Î IP ¥¢¥É¥ì¥¹¤ò»È¤Ã¤Æ¡¤¾å...
* DNS Ì䤤¹ç¤ï¤»¥¯¥é¥¤¥¢¥ó¥È¤ÎÀßÄê [#m5cfe5be]
¥µ¡¼¥Ð BIND¤ÎÀßÄê¤ÎÁ°¤Ë¡¤DNS ¤ÎÌ䤤¹ç¤ï¤»¤ÎÀßÄê¤Ï FreeBSD...
FreeBSD ¤Ç¤Ï DNS Ì䤤¹ç¤ï¤»¤ò¹Ô¤¦»þ¤ÎÀßÄê¤Ï´ðËÜŪ¤Ë /etc/...
¾ÜºÙ¤Ï man resolv.conf ¤â¤·¤¯¤Ï jman resolv.conf ¤È¤·¤Æ¥Þ...
| ¥ª¥×¥·¥ç¥ó | Îã(¤É¤ì¤â1¹Ô¤Ç½ñ¤«¤ì¤ë) | ÀâÌÀ |h
| nameserver | nameserver 192.168.125.14 | DNS ¤Î(ºÆµ¢Åª...
| domain | domain cl.math.sci.osaka-u.ac.jp | ¥í¡¼¥«¥ë¥É...
| search | search math.sci.osaka-u.ac.jp sci.osaka-u.ac....
&ref(./notes.png); /etc/resolv.conf ¤Î search ¥ª¥×¥·¥ç¥ó...
¶ñÂÎŪ¤Ë¤Ï¡¤
> search cl.math.sci.osaka-u.ac.jp math.sci.osaka-u.ac.j...
¤È¤¤¤¦¹Ô¤ò /etc/resolv.conf ¤Ë²Ã¤¨¤¿¸å¡¤
&ref(./warning.png); 1¹Ô¤Ç½ñ¤¯¤³¤È!
host www
¤ä
dig +search -t ANY mail
¤Ê¤É¤È¤·¤Æ¤ß¤è¤¦.
&ref(./warning.png); dig ¥³¥Þ¥ó¥É¤Ï¡¤¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï searc...
* DNS ¥µ¡¼¥Ð¤Î¿½Å²½ [#r6504da1]
¤µ¤Æ¡¤¤½¤í¤½¤í DNS ¥µ¡¼¥Ð¤ÎÏÃ¤Ë°Ü¤í¤¦.
¤Þ¤º DNS ¥µ¡¼¥Ð¤Î¿½Å²½¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤Æ¤ª¤³¤¦.
DNS ¥µ¡¼¥Ð¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤ÇÈó¾ï¤Ë½ÅÍפÊÌò³ä¤ò²Ì¤¿¤¹¤â¤Î...
¤½¤³¤Ç¡¤DNS ¥µ¡¼¥Ð¤Ï´ðËÜŪ¤Ë2²Õ½ê°Ê¾å¤Ë¿½Å²½¤¹¤ë¤³¤È¤Ë¤Ê...
&ref(./warning.png); ¤¤¤Þ¤Þ¤Ç dig Åù¤Ç DNS ¾ðÊó¤ò¸«¤¿¤È¤...
¤½¤·¤Æ¡¤Â¿½Å²½¤·¤¿ºÝ¤Î¥Ç¡¼¥¿¤ÎÀ°¹çÀ¤ä¹¹¿·¤Ë¤Ä¤¤¤Æ¤â¡¤¤...
¤³¤ì¤Ï¡¤1¤Ä¤Î¥¾¡¼¥ó(1¤Ä¤Î DNS ¾ðÊó¤ÎÀÕǤÈϰϤȻפ¨¤Ð¤è¤¤)...
¤½¤¦¤·¤Æ¡¤¥ª¥ê¥¸¥Ê¥ë¾ðÊ󤬥ޥ¹¥¿¡¼¥µ¡¼¥Ð¤«¤é¥¹¥ì¡¼¥Ö¥µ¡¼...
¤³¤ì¤ò¥¾¡¼¥óžÁ÷¤È¤¤¤¦.¥¾¡¼¥óžÁ÷¤â DNS ¥µ¡¼¥Ð¤Î»Å»ö¤Ê¤Î...
¤Ê¤ª¡¤DNS Ì䤤¹ç¤ï¤»¤ò¹Ô¤¦¥¯¥é¥¤¥¢¥ó¥È¤«¤é¸«¤ë¤È¥Þ¥¹¥¿¡¼...
* DNS ¥µ¡¼¥Ð¤Î¿Æ»Ò´Ø·¸ [#lb9157a0]
¼¡¤Ë¡¤DNS ¥µ¡¼¥Ð¤Î¿Æ»Ò´Ø·¸¤Ë¤Ä¤¤¤Æ½Ò¤Ù¤è¤¦.
³Æ¡¹¤Î DNS ¥µ¡¼¥Ð¤¬¶É½êŪ¤Ê¾ðÊó¤ò»ý¤Ã¤Æ¤¤¤ë¤À¤±¤ÇÁ´ÂΤ¬¤¦...
¤Þ¤º¡¤DNS ¤¬³¬ÁØŪ¤Ç¤¢¤ê¡¤¤½¤Î¾ðÊó¤ò´ÉÍý¤¹¤ë DNS ¥µ¡¼¥Ð¤â...
¤µ¤Æ¡¤¤Ç¤Ï¤½¤Î³¬ÁØ¡¤¿Æ»Ò´Ø·¸(¿Æ¤¬¤è¤êÂ礤ʥɥᥤ¥ó¤ò¡¤»Ò...
¤³¤ì¤Ï¡¤¡Ö¿Æ¥µ¡¼¥Ð¤¬¡¤»Ò¥µ¡¼¥Ð¤¬¥µ¥Ö¥É¥á¥¤¥ó¤ò´ÉÍý¤·¤Æ¤¤...
&ref(./warning.png); »Ò¤Ï¿Æ¤òľÀÜÃΤëɬÍפϤʤ¤. ¤Ê¤ó¤Ê¤é...
¶ñÂÎŪ¤Ë¤Ï¡¤¿Æ¥µ¡¼¥Ð¤Î¤½¤Î¥¾¡¼¥ó(¥É¥á¥¤¥ó)¾ðÊó¤ÎÃæ¤Ë¡¤»Ò...
&ref(./warning.png); ¤³¤ì¤¬ DNS ¥µ¡¼¥Ð´ÉÍý¤Î°ìÈ֤Υݥ¤¥ó...
ʬ¤«¤ê°×¤¤¤è¤¦¤Ë¶ñÂÎÎã¤Ç½ñ¤³¤¦.
Î㤨¤Ð¡¤¤¢¤ë¿Æ¥µ¡¼¥Ð¤¬ aaa.com ¥É¥á¥¤¥ó¤ò´ÉÍý¤·¤Æ¤¤¤Æ¡¤»Ò...
¤³¤Î»þ¤Ï¡¤¿Æ¥µ¡¼¥Ð¤Î aaa.com ¥¾¡¼¥ó¾ðÊóÆâ¤Ë
> sub.aaa.com. IN NS ns.sub.aaa.com.
> ns.sub.aaa.com. IN A 192.168.125.105
¤È½ñ¤¯¤³¤È¤Ë¤Ê¤ë.
&ref(./warning.png); Åö¤¿¤êÁ°¤À¤¬¡¤Æó¹ÔÌܤξðÊ󤬤³¤³¤Ë½ñ...
¤µ¤Æ¡¤¤³¤ÎÏäòµÕ¤Ë¸À¤¨¤Ð¡¤
¡Ö¿Æ¥µ¡¼¥Ð¤¬¡¤»Ò¥µ¡¼¥Ð¤¬¥µ¥Ö¥É¥á¥¤¥ó¤ò´ÉÍý¤·¤Æ¤¤¤ë¤³¤È¤ò...
¾õ¶·¤Ë¤¹¤ì¤Ð¡¤¤½¤Î¥µ¥Ö¥É¥á¥¤¥ó¤Î¾ðÊó¤Ï¡Ö»Ò¥µ¡¼¥Ð¤ËľÀÜÌä...
¼«Âð¤Ç¤Î¤ßÄÌÍѤ¹¤ë¥µ¥Ö¥É¥á¥¤¥ó¤Ê¤É¤Ï¡¤¤³¤¦¤·¤Æ´ÉÍý¤¹¤ë¤È...
¤â¤Á¤í¤ó¡¤¤³¤Î¾ì¹ç¤Ï¤³¤Î¥µ¥Ö¥É¥á¥¤¥ó¾ðÊó¤ò»È¤Ã¤Æ³°¤«¤é¥¢...
* BIND ¤Î´ðËÜÀßÄê [#m9a6d616]
BIND ¤Î»Å»ö¤Ï¥¾¡¼¥óÀßÄê¤ä¥ê¥¾¥ë¥Ð(DNSÌ䤤¹ç¤ï¤»¤ËÅú¤¨¤ë¤³...
¤³¤ì¤À¤±¤Ç¤â½¼Ê¬°ÕÌ£¤¬¤¢¤ë.
** named.conf ¤ÎÀßÄê [#r8d1d939]
/etc/namedb (ËÜÅö¤Ï /var/named/etc/namedb )°Ê²¼¤Ë¡¤BIND ...
¤³¤ì¤ò½ñ¤´¹¤¨¤ì¤Ð¡¤BIND ¤ÎÂç¤Þ¤«¤ÊÆ°ºî¤¬ÊѤ¨¤é¤ì¤ë.
¤Á¤Ê¤ß¤Ë¡¤named.conf ¤Îʸˡ¥Á¥§¥Ã¥¯ÀìÍÑ¤Ë named-checkconf...
¤µ¤Æ¡¤¥³¥á¥ó¥È¤ò̵»ë¤¹¤ë¤È¡¤¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤Ë...
> options {
> ¡¡¡¡¡¡¡¡¡¡directory¡¡¡¡¡¡¡¡"/etc/namedb";
> ¡¡¡¡¡¡¡¡¡¡pid-file¡¡¡¡¡¡¡¡¡¡"/var/run/named/pid";
> ¡¡¡¡¡¡¡¡¡¡dump-file¡¡¡¡¡¡¡¡"/var/dump/named_dump.db";
> ¡¡¡¡¡¡¡¡¡¡statistics-file "/var/stats/named.stats";
> ¡¡¡¡¡¡¡¡¡¡listen-on¡¡¡¡¡¡¡¡{ 127.0.0.1; };
> ¡¡¡¡¡¡¡¡¡¡disable-empty-zone "255.255.255.255.IN-ADDR....
> ¡¡¡¡¡¡¡¡¡¡disable-empty-zone "0.0.0.0.0.0.0.0.0.0.0.0....
> ¡¡¡¡¡¡¡¡¡¡disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0....
> ¡¡¡¡¡¡¡¡¡¡forwarders {
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡127.0.0.1;
> ¡¡¡¡¡¡¡¡¡¡};
> };
> &br;
> zone "." { type hint; file "named.root"; };
> &br;
> zone "localhost" { type master; file "master/lo...
> zone "127.in-addr.arpa" { type master; file "master/lo...
> zone "255.in-addr.arpa" { type master; file "master/em...
> &br;
> zone "0.ip6.arpa" { type master; file "master/lo...
> &br;
> zone "0.in-addr.arpa" { type master; file "m...
> &br;
> zone "10.in-addr.arpa" { type master; file "m...
> zone "16.172.in-addr.arpa" { type master; file "m...
> zone "17.172.in-addr.arpa" { type master; file "m...
> zone "18.172.in-addr.arpa" { type master; file "m...
> ¡Ä»÷¤¿¤è¤¦¤ÊÀßÄ꤬³¤¯¤Î¤Çά¡Ä
¤³¤ì¤ò¤ß¤ë¤È¤ª¤ª¤è¤½Ê¬¤«¤ë¤è¤¦¤Ë¡¤¤³¤Î¥Õ¥¡¥¤¥ë¤ÎÀßÄê·Á¼°...
¼ÂºÝ¤Ë¤Ï¾¤Ë acl(¥¢¥¯¥»¥¹À©¸Â¤ò¤«¤±¤ë), include(¥Õ¥¡¥¤¥ë...
*** named.conf ¤Î options [#fe19397f]
named.conf ¤òÊÔ½¸¤¹¤ëÁ°¤Ë, ¤¤¤Ä¤â¤Î¤è¤¦¤Ë¤Þ¤º¤Ï¥Ð¥Ã¥¯¥¢¥Ã...
&ref(./warning.png); ¤¤¤Ä¤Ç¤â¤È¤Ë¤«¤¯¥Ð¥Ã¥¯¥¢¥Ã¥×¤À! ÊʤË...
¤µ¤Æ¡¤options ¤Ç¤Ï BIND ¼«¿È¤ÎÆ°ºî¤ò·è¤á¤ë¥ª¥×¥·¥ç¥ó¤òÀß...
¥Ç¥Õ¥©¥ë¥È¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤â¤Î¤Ï¤Û¤Ü¤½¤Î¤Þ¤Þ»È¤¨¤ë¤â¤Î¤È¤·...
&ref(./notes.png); ¤¿¤À¤·¡¤¤³¤ì¤«¤é³§¤Î¥µ¡¼¥Ð¤Ï³Æ¡¹Â¾¤«¤é...
¤½¤Î¤¿¤á¤Ë¤Ï¡¤Â¾¤Î¥Þ¥·¥ó¤«¤é¤ÎÌ䤤¹ç¤ï¤»¤ò̵»ë¤·¤Ê¤¤¤è¤¦...
¤½¤³¤Ç¡¤¼«Ê¬¼«¿È¤«¤é¤ÎÌ䤤¹ç¤ï¤»¡Ö¤Î¤ß¡×¤òµö²Ä¤·¤Æ¤¤¤ëÀß...
> // listen-on { 127.0.0.1; };
¤È, ¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ̵¸ú¤Ë¤·¤Æ¤ª¤³¤¦.
¾¤Ë options ¤ÇÀßÄê¤Ë¤è¤¯»È¤¤¤½¤¦¤Ê¤â¤Î¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î...
| ¥¹¥Æ¡¼¥È¥á¥ó¥È | ÀßÄêÎã | ÀâÌÀÅù |h
| forward | forward only; ¤â¤·¤¯¤Ï forward first; | only ...
| forwarders | forwarders {192.168.125.xxx; 192.168.125.y...
| recursion | recursion yes; ¤â¤·¤¯¤Ï recursion no; | BIN...
| allow-query | allow-query { 192.168.125.xxx; 127.0.0.1;...
| allow-recursion | allow-recursion { 192.168.125.xxx; 12...
| allow-transfer | allow-transfer { 192.168.125.xxx; 127....
¾¤Ë¤âºÙ¤«¤¤ÀßÄ꤬Âô»³¤¢¤ë¤Î¤Ç¡¤¶½Ì£¤¢¤ë¿Í¤Ï (j)man named...
&ref(./notes.png); ¤µ¤Æ¡¤¤Þ¤º¤Ï¡ÖÁ´Éô¿ÍǤ¤»¤Ë¤·¤Æ¤·¤Þ¤¦¡×...
named.conf ¤Î options Éôʬ¤òÃí°Õ¿¼¤¯½¤Àµ¤·¤Æ¡¤¼¡¤ÎÆâÍƤË...
> forward only;
> forwarders { 192.168.125.14; };
&ref(./warning.png); named.conf ¤Î½ñ¼°¤Ç¤Ï¡¤Æó¼ïÎà¤Î¡Ö¥³...
¥³¥á¥ó¥È¥¢¥¦¥È¤µ¤ì¤Æ¤¤¤ë¤È¤³¤í¤Ë²¿¤ò½ñ¤¤³¤ó¤Ç¤â¡¤ÀßÄê¤Ë...
½¤Àµ¤·¤¿¤é¡¤Ç°¤Î°Ù¤Ë named-checkconf ¤Ç¥Á¥§¥Ã¥¯¤·¤Æ¤ª¤³¤¦.
named-checkconf
²¿¤â¸À¤ï¤ì¤Ê¤±¤ì¤Ð¡¤Ê¸Ë¡¾å¤ÎÌäÂê¤Ï¤Ê¤¤¤È¤¤¤¦¤³¤È¤À. °Â¿´...
// ¤¢¤È¡¤Ç°¤Î°Ù¤Ë
// named-checkconf -z
// ¤È¤â¤·¤Æ¤ª¤³¤¦(¥¨¥é¡¼¤¬¤Ç¤ë¤Ï¤º¤À. ¾Ü¤·¤¯¤Ï¸å½Ò.).
// *** ¼Â½¬ [#w2df7607]
// ¾å¤Þ¤Ç¤Îºî¶È¤ò¹Ô¤¨.
// ¤Þ¤¿¡¤¾å¤ÎÀßÄê¤Î°ÕÌ£¤ò½Ò¤Ù¤è(listen-on ÀßÄê¤Î°ÕÌ£¤âÄ´...
*** named.conf ¤Î zone [#v248cc34]
¤Þ¤¿¡¤named.conf ¤Ë¤Ï zone ¤È¤¤¤¦¹àÌܤ¬¤¢¤ë.
¤³¤ì¤¬¡Ö¼«Ê¬¤¬´ÉÍý¤¹¤ë¥¾¡¼¥ó(¥É¥á¥¤¥ó¤È»×¤Ã¤Æ¤è¤¤)¤Ë¤Ä¤¤...
¤¿¤À¡¤Îɤ¯¤ß¤ë¤Èʬ¤«¤ë¤è¤¦¤Ë¡¤¶ñÂÎŪ¤Ê¾ðÊó¤Ï named.conf ...
> file "named.root";
¤Ê¤É¤È¤·¤ÆÊÌ¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤à¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë.
¤µ¤Æ¡¤Àè¤Ë¤Þ¤º¤³¤³¤Ç¤Ï named.conf ¤Ç¤Î zone ¤Ë¤Ä¤¤¤ÆÀâÌÀ...
zone ¹àÌܤϰìÈ̤Ë
> zone "¥¾¡¼¥ó̾(¢â¥É¥á¥¤¥ó̾)" {
> ¡¡¡¡¡¡¡¡type ¥¾¡¼¥ó¤Î¥¿¥¤¥×; &color(blue){¢« ¿½Å²½¥µ¡¼...
> ¡¡¡¡¡¡¡¡file ¶ñÂÎŪ¤ÊÀßÄêÆâÍƤò½ñ¤¤¤Æ¤¢¤ë¥Õ¥¡¥¤¥ë̾;
> ¡¡¡¡¡¡¡¡masters { ¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤Î IP¥¢¥É¥ì¥¹ }; &color...
> };
¤È¤¤¤¦·Á¤ò¤·¤Æ¤¤¤ë.
°Ê²¼¡¤ÀâÌÀ¤·¤è¤¦.
++ ¥¾¡¼¥ó̾¤Ï¤Þ¤¢¤ï¤«¤ë¤À¤í¤¦.
&br;
++ ¥¾¡¼¥ó¤Î¥¿¥¤¥×¤Ï¡¤Á´Éô¤Ç hint(¥ë¡¼¥È¥µ¡¼¥ÐÍѤÎÆÃÊ̤ʤâ...
&br;
++ masters ¤Ï¡¤¼«Ê¬¤¬¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤Ç¤¢¤ë¾ì¹ç¤Ë¡¤¥Ç¡¼¥¿¤ò...
&br;
++ file ¤Ï¡¤¼«Ê¬¤¬¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤Î¾ì¹ç¤Ï¼«Ê¬¤Çºî¤ê¡¤maste...
¼«Ê¬¤¬¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤Î¾ì¹ç¡¤slave ¥Ç¥£¥ì¥¯¥È¥ê¤Î²¼¤Ë¥³¥Ô...
¤µ¤Æ¡¤¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò "file" ¹àÌܤËÃåÌܤ·¤ÆʬÎष¤Æ¤ß...
&ref(./warning.png); master/empty.db ¥Õ¥¡¥¤¥ë¤Ï, ÀßÄê¤Ë»È...
¤Ä¤Þ¤ê¡¤¤È¤ê¤¢¤¨¤º¤³¤ì¤ÇºÇÄã¸Â¤ÏÆ°¤¤½¤¦¤À.
&ref(./warning.png); ºÇ°¤Ç¤â¡¤¥ë¡¼¥È¥É¥á¥¤¥ó¤Î¾ðÊ󤵤¨¤¢...
// ¤½¤·¤Æ¤½¤ì¤é¤òÎɤ¯Æɤà¤È¡¤zone "0.0.127.IN-ADDR.ARPA"(...
// ¤½¤³¤Ç¤Þ¤º¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤òºî¤í¤¦.
// ¤È¤Ï¤¤¤Ã¤Æ¤â¤È¤¯¤Ë¹Í¤¨¤ëɬÍפϤʤ¯¤Æ¡¤root ¤Ç
// cd /etc/namedb
// sh ./make-localhost
//¤È¤¹¤ì¤Ð¼«Æ°Åª¤Ë¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ...
// ¤³¤ì¤Ç¤È¤ê¤¢¤¨¤º¥Ç¥Õ¥©¥ë¥ÈÀßÄê +¥¢¥ë¥Õ¥¡ ¤¬ºÑ¤ó¤À¤Ï¤º...
// named-checkconf -z
// ¤È¤·¤Æ¡¤¥¨¥é¡¼¤¬¤Ç¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤è¤¦.
** ºÇÄã¸Â¤Îµ¯Æ°¥Á¥§¥Ã¥¯ [#b5409769]
&ref(./notes.png); ¤È¤ê¤¢¤¨¤º¡¤¤³¤ì¤Ç BIND ¤ÏºÇÄã¸Â¤ÏÆ°¤¯...
¤È¤¤¤¦¤³¤È¤Ç¡¤/etc/resolv.conf ¤Î nameserver ¹àÌܤò
> nameserver 127.0.0.1
¤È½¤Àµ¤·¡¤/etc/rc.conf ¤Ë
> named_enable="YES"
¤òŬÀڤʾì½ê¤Ë½ñ¤¹þ¤ó¤À¾å¤Ç¥ê¥Ö¡¼¥È¤·¤è¤¦((ÀÎ¤Ï named_fl...
¤½¤·¤Æ¡¤µ¯Æ°¤·¤¿¤é¤Þ¤º
ps -axuww | grep named
¤È¤·¤Æ¤ß¤è¤¦.
> /usr/sbin/named -t /var/named -u bind
¤È¤¤¤¦¤Î¤¬¸«¤¤½Ð¤»¤ì¤Ð¡¤ÀßÄê¤Ï¤Ò¤È¤Þ¤º¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤ë.
¤µ¤é¤Ë¡¤
dig www.osaka-u.ac.jp
¤Ê¤É¤È¤·¤Æ¤ß¤ë. ¤½¤Î¤È¤¡¤
> ; <<>> DiG 9.4.2 <<>> www.osaka-u.ac.jp
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38...
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3,...
> &br;
> ;; QUESTION SECTION:
> ;www.osaka-u.ac.jp. ¡¡¡¡¡¡¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡ A
> &br;
> ;; ANSWER SECTION:
> www.osaka-u.ac.jp. ¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> &br;
> ;; AUTHORITY SECTION:
> osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 213263¡¡¡¡¡¡¡¡¡¡ IN...
> &br;
> ;; ADDITIONAL SECTION:
> a.osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 217104¡¡¡¡¡¡¡¡¡¡ IN...
> sigw.sinet.ad.jp.¡¡¡¡¡¡¡¡¡¡ 40463¡¡¡¡¡¡¡¡¡¡ IN...
> b.osaka-u.ac.jp.¡¡¡¡¡¡¡¡¡¡ 217776¡¡¡¡¡¡¡¡¡¡ IN...
> &br;
> ;; Query time: 0 msec
> ;; &color(red){SERVER: 127.0.0.1#53(127.0.0.1)};
> ;; WHEN: Thu Jan 29 01:57:02 2009
> ;; MSG SIZE rcvd: 159
¤Ê¤É¤È¤Ê¤ê¡¤127.0.0.1¡¤¤Ä¤Þ¤ê¼«Ê¬¼«¿È¤¬ DNS ¥µ¡¼¥Ð¤È¤·¤Æ...
¤³¤ì¤Ç¡¤¾¯¤Ê¤¯¤È¤â BIND ¤ÎÆ°ºî¤¬³Îǧ¤Ç¤¤¿¤³¤È¤Ë¤Ê¤ë.
* BIND ¤Ç¥¾¡¼¥óÀßÄê [#e8aaec77]
¤µ¤Æ¡¤BIND ¤ÎËܼÁŪ¤ª»Å»ö¤Ç¤¢¤ë¡¤¥¾¡¼¥ó(¥É¥á¥¤¥ó)ÀßÄê¤ò¤·...
¤Ä¤Þ¤ê¡¤¼«Ê¬¤Î¡Ö²¼¡×¤Ë¥É¥á¥¤¥ó¤òºî¤ë¤Î¤À!
¤½¤ì¤Ç¤Ï¡¤³Æ¼«¤Î¥Þ¥·¥ó¤Ç¼ÂºÝ¤Ë¥µ¥Ö¥É¥á¥¤¥ó¤òºî¤Ã¤Æ, ¤½¤Î...
¤Þ¤º¡¤³Æ¡¹¤Î¥µ¥Ö¥É¥á¥¤¥ó¤Ï¼¡¤Î¤è¤¦¤Ê¤â¤Î¤È¤¹¤ë.
[[¼ø¶È»ñÎÁ/Âè03²ó ¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄê>¼ø¶È»ñÎÁ/Âè03²ó#f242...
| ¹àÌÜ | ÀßÄêÃÍ | È÷¹Í |h
| ¥µ¥Ö¥É¥á¥¤¥ó̾ | sub&color(red){PCÈÖ¹æ};.cl.math.sci.os...
| »È¤¨¤ë IP | 192.168.125.&color(red){105+(5*PCÈÖ¹æ)}; £...
| ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð | 狼Íè¤Æ¤¤¤ë¿Í¤ÈÁȤó¤Ç¡¤¤½¤Î¿Í¤Î¥µ¡¼¥Ð...
¤È¤·¤è¤¦.
&ref(./notes.png); ¤³¤Î¸å¤Îºî¶È¤ò¹Ô¤¦Á°¤Ë¡¤forward only ...
¶ñÂÎŪ¤Ë¤Ï¡¤/etc/namedb/named.conf ¤Î forward only ¹Ô¤ò¡Ö...
** ¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤ÎÀßÄê - named.conf ¤ÎÀßÄê [#d144237f]
&ref(./notes.png); ¤Ç¤Ï¡¤¾åµ¤ÎÀßÄê¤Ë±è¤Ã¤Æºî¶È¤·¤è¤¦.
Î㤨¤Ð¡¤PC Èֹ椬 17 ¤Î¥Þ¥·¥ó¤Ç¤Ï
> zone¡¡"sub17.cl.math.sci.osaka-u.ac.jp"¡¡{
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡type¡¡master;
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡file¡¡"master/sub17.db";
> };
¤È¤¤¤¦ÀßÄê¤ò named.conf ¤Ë²Ã¤¨¤Æ¡¤zone "sub17.cl.math.sci...
¤â¤Á¤í¤ó¡¤¤³¤¦¤·¤¿ÀßÄê¤ò²Ã¤¨¤¿¤é
named-checkconf
¤È¤·¤ÆÀßÄê¥ß¥¹¤¬¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤Æ¤ª¤³¤¦.
** ¥Þ¥¹¥¿¡¼¥µ¡¼¥Ð¤ÎÀßÄê - ¥¾¡¼¥ó¥Õ¥¡¥¤¥ë ¤ÎÀßÄê [#v018ab61]
&ref(./notes.png); ¼¡¤Ë¡¤´Î¿´¤Î¾ðÊó¤ò½ñ¤¤³¤à¥¾¡¼¥ó¥Õ¥¡¥¤...
¾å¤ÎÎã¤Î¾ì¹ç¤À¤È¡¤master/sub17.db ¤È¤Ê¤ë.
¤Þ¤º¡¤¿÷·Á¤Ç¤¢¤ë empty.db ¤ò¥³¥Ô¡¼¤·¤Æ¥Õ¥¡¥¤¥ë¤òºî¤í¤¦.
Î㤨¤Ð¡¤
cd /etc/namedb/master
cp empty.db sub17.db
¤È¤¹¤ë. ¤½¤ì¤«¤é¡¤sub17.db ¤òŬµ¹ÊÔ½¸¤·¤Æ¡¤º£¤ÎÎã¤Ç¤Ï
> $TTL¡¡¡¡¡¡¡¡3600
> @¡¡¡¡¡¡¡¡¡¡¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡SOA¡¡¡¡¡¡¡¡¡¡q17.cl.math....
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡NS¡¡¡¡¡¡¡¡¡¡¡¡q17.cl.mat...
> test01¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.190
> test02¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.191
> test03¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.192
> test04¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.193
> test05¡¡¡¡IN¡¡¡¡¡¡¡¡¡¡¡¡A¡¡¡¡¡¡¡¡¡¡¡¡¡¡192.168.125.194
¤Ê¤É¤È¤¹¤ë.
°Ê²¼¡¤ÆâÍƤò¾¯¤·ÀâÌÀ¤·¤è¤¦.
++ SOA ¤Î¹àÌܤϡ¤¤³¤Î¾ðÊó¤Î¡ÖÀÕǤ¤ò¤È¤ë¥Û¥¹¥È¤È¡¤ÀÕǤ¼Ô¤Î...
¤Á¤Ê¤ß¤Ë¡¤¥·¥ê¥¢¥ëÃͤϤ³¤Î¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤Î¡Ö¿·¤·¤µ¡×¤ò¼¨...
&ref(./warning.png); ¤À¤«¤é¡¤¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤òÊÔ½¸, ¹¹¿·¤·...
&br;
++ NS ¤Î¹àÌܤϡ¤¤³¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤ÎÌ䤤¹ç¤ï¤»¤ËÅú¤¨¤ë¥Í¡¼...
&ref(./warning.png); NS ¤ÎÀßÄê¤Ï A ¤Ê¤É¤ÎÀßÄê¤è¤ê¤âÁ°¤Ç¤Ê...
&ref(./warning.png); NS ¤ÎÀßÄê¤Ï FQDN ¤Ç½ñ¤¯¤È¤¤¤¦¤³¤È¤Ë...
&br;
++ A ¤Çʤó¤Ç¤¤¤ë¹àÌܤ¬¡¤´Î¿´¤Î¡Ö´ÉÍý¤·¤Æ¤¤¤ë¡×¾ðÊ󤽤Τâ...
¤µ¤Æ¡¤¤³¤ì¤Ç zone ÀßÄê¥Õ¥¡¥¤¥ë¤È¤·¤Æ¤Ï¤È¤ê¤¢¤¨¤ºÆ°¤¯¤Ï¤º...
¤Þ¤¿¡¤ÀßÄêÁ´ÂΤˤĤ¤¤Æ¤Ï¡¤¤Ä¤®¤Î¹àÌܤòÃΤäƤ¤¤ì¤ÐÂçÂÎÂç...
| ¹àÌÜ | ÀâÌÀ |h
| ³Æ¹Ô¤Î½ñ¤Êý | ''̾Á° IN ¥ì¥³¡¼¥É̾ ÀßÄê'' ¤È½ñ¤«¤ì¤ë¤³...
| @ | named.conf ¤Ç»ØÄꤷ¤¿¤½¤Î¥¾¡¼¥ó̾. ¾å¤ÎÎã¤À¤È sub17...
| ²¿¤â½ñ¤¤¤Æ¤Ê¤¤¤È¤³¤í | @ ¤È²ò¼á¤µ¤ì¤ë. ʬ¤«¤ê¤Ë¤¯¤¤¤¬¡¤...
| .¤Ç½ª¤ï¤Ã¤Æ¤¤¤Ê¤¤¥Þ¥·¥ó̾Åù | .@ ¤¬Êä¤ï¤ì¤ë |
&ref(./notes.png); ¤µ¤Æ¡¤¤³¤Î zone ¥Õ¥¡¥¤¥ë¤ò¥Á¥§¥Ã¥¯¤·¤è...
named-checkzone ¥¾¡¼¥ó̾ ¥Á¥§¥Ã¥¯¤·¤¿¤¤¥¾¡¼¥ó¥Õ¥¡¥¤¥ë
¤È¤¹¤ì¤Ð¥Á¥§¥Ã¥¯¤Ç¤¤ë. ¤³¤ÎÎã¤Ç¤Ï¡¤
named-checkzone sub17.cl.math.sci.osaka-u.ac.jp ./sub17...
¤È¤·¤Æ¡¤¥¨¥é¡¼¤¬¤Ç¤Ê¤±¤ì¤Ð¤è¤¤.
¤¦¤Þ¤¯¤¤¤Ã¤¿¤é¡¤BIND ¤ËÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤßľ¤µ¤»¤è¤¦. ¤½¤ì...
rndc reload
¤È¤¹¤ì¤Ð¤è¤¤.
¤µ¤Æ¡¤Æ°ºî¤ò³Îǧ¤·¤è¤¦. ¤½¤ì¤Ë¤Ï¡¤Â¾¤Î¥Þ¥·¥ó¤«¤é¤³¤Î¾ì¹ç¤Ï
dig test01.sub17.cl.math.sci.osaka-u.ac.jp
¤Ê¤É¤È¤·¤Æ
> ;; ANSWER SECTION:
> test01.sub17.cl.math.sci.osaka-u.ac.jp. 2959 IN A 192....
¤¬ÆÀ¤é¤ì¤ì¤Ð¤è¤¤.
** ¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤ÎÀßÄê [#vecc2323]
&ref(./notes.png); ¼¡¤Ë¡¤¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤ÎÀßÄê¤ò¤·¤Æ¤ß¤è¤¦.
¤³¤ì¤Ï¥Þ¥¹¥¿¡¼¤è¤ê¡ÖÀßÄê¤Ï¡×´Êñ¤Ç¤¢¤ë¡Ä¤¬¡¤¥Þ¥¹¥¿¡¼¤È¥¹¥ì...
Î㤨¤Ð¡¤sub16.cl.math.sci.osaka-u.ac.jp ¥É¥á¥¤¥ó(¥Þ¥¹¥¿¡¼...
¤³¤Î»þ¤Ë¹Ô¤¦ÀßÄê¤ÏÆ󥫽ê¤À¤±¤Ç¤¢¤ë.
*** ¥Þ¥¹¥¿¡¼Â¦¤Î¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤Ë¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤ò NS ¤È¤·...
¶ñÂÎŪ¤Ë¤Ï¡¤
> IN NS q17.cl.math.sci.osaka-u.ac.jp.
¤ò¥µ¡¼¥Ð q16 ¤Î¥¾¡¼¥ó¥Õ¥¡¥¤¥ë¤Ë²Ã¤¨¤Æ¤ª¤¯¤À¤±¤Ç¤¢¤ë(¤¿¤À...
*** ¥¹¥ì¡¼¥Ö¦¤Î named.conf ¤Ç¥¹¥ì¡¼¥Ö¥µ¡¼¥ÐÀë¸À¤ò¤¹¤ë [#...
¥µ¡¼¥Ð q17 ¤Î named.conf ¤Ë
> zone¡¡"sub16.cl.math.sci.osaka-u.ac.jp"¡¡{
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡type¡¡slave;
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡masters¡¡{¡¡192.168.125.106;¡¡};¡¡¢«¡¡q...
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡file¡¡"slave/sub16.db";
> };
¤È½ñ¤²Ã¤¨¤ë¤À¤±¤Ç¤¢¤ë. "slave/sub16.db" ¤È¤¤¤¦¥Õ¥¡¥¤¥ë...
&ref(./notes.png); 狼¤ÈÁȤó¤Ç¡¤¥¹¥ì¡¼¥Ö¥µ¡¼¥ÐÀßÄê¤Þ¤Ç¹Ô...
¤Þ¤¿¡¤Æ°ºî³Îǧ¤ò¹Ô¤Ã¤Æ¤ß¤è¤¦.
¶ñÂÎŪ¤Ë¤Ï¡¤ÀßÄê/Æ°ºî¤Þ¤Ç¤Ç¤¤¿¤È»×¤Ã¤¿¤é¡¤¾å¤ÎÎã¤Ç¸À¤¨¤Ð...
dig -t NS sub16.cl.math.sci.osaka-u.ac.jp
¤Ê¤É¤È¤·¤Æ¤ß¤Æ¡¤sub16.cl.math.sci.osaka-u.ac.jp ¤Î NS ¤È...
¾¤Ë¤â¡¤¥¹¥ì¡¼¥Ö¥µ¡¼¥Ð¤Î /etc/namedb/slave ¤Ë¥³¥Ô¡¼¤µ¤ì¤Æ...
** µÕ°ú¤ÀßÄê [#zaf66a57]
¤³¤ì¤Ï¼Â¤Ï¡Ö¿Æ¥µ¡¼¥Ð¤Î»ö¾ð/ÀßÄê¡×¤ÇÂ礤¯ÊѤï¤Ã¤Æ¤¯¤ë¤Î¤Ç...
* ¥ì¥Ý¡¼¥È [#o66d2b43]
ÅÓÃæ¤Ç¡ÖÄ´¤Ù¤è¡×¤È»Ø¼¨¤µ¤ì¤¿»ö¹à¤Ë¤Ä¤¤¤ÆÄ´ºº¤ò¹Ô¤¤¡¤Êó¹ð...
º£²ó¤Ï NS, A ¥ì¥³¡¼¥É¤·¤«ÀßÄꤷ¤Ê¤«¤Ã¤¿¤¬¡¤MX Åù¤âÀßÄꤷ...
// ¤Þ¤¿¡¤5¤Ä¤Î IP ¤ò»È¤¤¤¤Ã¤Æ¤ß¤è.
¤Þ¤¿¡¤ËÜÆü¹Ô¤Ã¤¿ºî¶È¤Ë¤Ä¤¤¤ÆÊó¹ð¤»¤è.
¤â¤Á¤í¤ó³Æ¼«¤Î
+ ½ê°(³ØÉô¡¤³Ø²Ê)
+ ³ØÀÒÈÖ¹æ
+ ³Øǯ
+ »á̾
+ Æü»þ
+ ´Î¿´¤Î¥ì¥Ý¡¼¥ÈÆâÍÆ(ÆÀ¤¿Ãθ«¡¤ºî¶È¤Ë¤Ä¤¤¤Æµ¤¤Å¤¤¤¿¤³¤ÈÅù)
¤ò½ñ¤¯¤Î¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë.
* about Icons [#p90706c9]
Some icons in this page are downloadable at [[ICONFINDER:...
The "note" icon &ref(./notes.png); designed by [[Marco Ma...
and the "warning" icon &ref(./warning.png); designed by [...
Thank you Marco and Alexandre!
// &ref(./notes.png);
// &ref(./warning.png);
¥Ú¡¼¥¸Ì¾: