Ȼ/10

Top / Ȼ / 10

ޤǤ

ޤǤμȤɤդƤʤ⤷򤬴ǤʤȤ⤤ޤߵٶȤǼȤȤǿʬ˺ƤޤäȤʬ⤢.
Ǿ֤ꡤޤǤԤ.

DNS

ơ DNS (Domain Name System) ˤĤƳؽ褦.
ޤǤμƤ DNS 狼СΡּפʬδáפʬäȤˤʤ*1.

DNS Ȥϥۥ̾(ܺ٤ϸҤ) IP address бϤȤ롤
ۥ̾ȥͥåȥ¤бط˴ؤʬǡ١Ȥ䤤碌λȤߤǤ.
web ȤäꤷƤơΤλȤߤϴˤ褽ΤäƤȤȻפ.

ʲǹԤФ⡤ܺʬФʤ񤷤Ϥʤ*2.

⤽ DNS Ȥͥåȥʬǡ١ɬѤɬפΤ

ȤäƤޥ򥤥󥿡ͥåȤ˷ҤΤǤФޤɬפǤȸäƤ褤.
DNS ϥ󥿡ͥåȤΥۥ̾ѤƤΥۥȤإ뤿λ¾ΡĢפʤΤǤ.

դ˸С֥󥿡ͥåȤ˷ҤʤפʤȤ⤢פΤǡ󥿡ͥåȤ˷Ҥʤʥͥåȥݤ DNS ʳ⸡Ƥ;Ϥ뤳Ȥ˺ƤϤʤ.

ޤĢΰʬּΥ˽񤤤ƤפȤȤǤ⤳ DNS ξΩǽǤ롥
/etc/hosts Ȥե˥ۥ̾ IP Address бɽľ˽񤤤ƤȤˡǤꡤDNS Ф԰Ǥ褦ʥͥåȥ˵ȤˤϷ빽ͭǤΤdzФƤȤ褤.

ʤ/etc/hosts ξ DNS ؤ䤤碌Τɤͥ褹뤫 /etc/nsswitch.conf ե "hosts" ܤ˽񤫤ƤǤ.
ǥեȤǤ

 hosts: files dns

ȤʤäƤꡤ/etc/hosts ͥ褹ȤˤʤäƤ.

ۥȡɥᥤ

webФ www.osaka-u.ac.jp Ȥ̾ΤǤ뤬ˤ褦.

ޤ www.osaka-u.ac.jp. ȺǸ˥ɥåȤĤɽǤ뤳ȤդƤ.
ǸΥɥåȤϡˤФС׾άƤǤ.
̾桼ȤƤϤϵˤɬפϤʤDNS Server κݤˤϺǸΥɥåȤάȡְִ㤨פˤʤ̤Τդ.

ƼˤȤǤ뤬 osaka-u.ac.jp Ȥɥᥤ www ȤۥȤǤ뤳Ȥ̣.
˥ɥᥤʬܤ⤹ȡΤˤϤ .(ɥå) ɽ롼ȥɥᥤ jp ɥᥤ󤬤ꡤ ac ɥᥤ󤬤ꡤˤ osaka-u ɥᥤ󤬤Ȥ¤򤷤Ƥ.
www.osaka-u.ac.jp. ޤǽ񤯤ȼΤ褦ˤʤ(Ū ֹץɥᥤ).

domain-structure.png

Ƴؤˤʣ(Ȥ¿)ɥᥤ󤬴ޤޤΤǡδط⤢碌ȤĤΤ褦ˤʤ.

domain-structure-multi.png

ʤߤˡwww.osaka-u.ac.jp Τ褦ˡۥ̾+ɥᥤ̾򤹤٤Ƥ碌Ǥ̾Τ FQDN(Fully Qualified Domain Name)Ȥ.

DNS 䤤碌ΤäѤʻȤ

DNS 䤤碌ϸΨΤ˼¤Ϸ빽ʣʻȤߤˤʤäƤΤ
礶äѤ˸СơγؤΥɥᥤξĥ͡ॵз*3餬줾첼γؤΥ͡ॵз̾ΤäƤ뤳Ȥǥǡ١ʬˤʤäƤ.
ơDNS server ؤ䤤碌ȤΤϡΥФ硹˾ƵŪ䤤碌ƺǸΡ־ǤäƤץ͡ॵ(SOA*4 󶡤륵ФΤ)褦ˤʤäƤ.
٤ΤäϸҤ.

Τ褦ˡǡ١ع¤äʬƤơïɤΥǡǤԤʤΤǽŪ˰դ˷ޤꡤġ䤤碌Ԥ褦ˤʤäƤΤDNS λȤߤΤ褯ǤƤȤǤ*5.

DNS 䤤碌μ(ढ)

DNS Фؤ䤤碌ϡ礶äѤ˸äढ.
ʬˤΤǤǽ񤤤Ƥ.

ƵŪ䤤碌
ꤲŪ䤤碌. ʹ줿ϡʬΤʤ¾ΥФʹʤɤƤϫƺǽŪФʤȤʤ. ï˴ꤲΤϥǤ.
ƵŪ䤤碌
ʹôξʤ䤤碌. ʹ줿ϡ򤺤ФΤäƤ򡤤Ǥʤмʬ˶᤽ʥ͡ॵФΤäƤФΥ͡ॵФ򶵤Ǥ褤.

DNS λȤߤ餤äơïͤϺƵŪ䤤碌ƶϫʤȤʤפΤǡï뤫ݥȤȤʤ.
̾ϡDNS ؤΤʤ٤˵ƺƵŪ䤤碌ǤǽϤΤ륽եȥĤޤꤿƤ LAN DNS Server ʤɤԤȤˤʤ.

DNS

ŪˤϡDNS (ľܤ)

ۥ꤬̾ȤΥۥȤ IP ɥ쥹䡤᡼ΰۥ(᡼륵), ۥ̾̾ä̾(canonical name),
IP Address ꤬ȤΥۥ̾

ȤȤˤʤ.
DNS 䤤碌ǴŪˤϤ깭(㤨ФΥۥȤξäƤ͡ॵФϤɤ줫ʤ).

ǡΡפˤĤƤ⤦򵭤Ƥ.
ŪˤϡΡ֥쥳̾פǤ. ϡDNS Ǥ䤤碌κݤˡ֤ξ󤬲ʤΤפؤפʥǤ.

쥳̾
SOAξǤξ. Start of Authority. Ǥ̾ԥ᡼륢ɥ쥹ǡꥢʥС, ͭĹʤ.
AIP Address
AAAAIP Address(IPv6)
NS͡ॵ
CNAMEΥۥȤ̾(⿿̾)
MXΥɥ쥹˥᡼뤬褿ɤΥ᡼륵Ф٤. ֹͥĤ.
PTRۥ̾

ȡDNS ˤϻ "IN" ȤɤФƤ뤬 Internet Ȥ̣ʤΤǤޤˤʤƤ褤.

ۥ̾ IP Address ¾ξΤ뤿 DNS Server 䤤碌뤳ȤȤ.
ǤʤۥȤȤΤϥ󥿡ͥåȾǤ()äƤϤʤʤ.

հ

դˡIP Address ۥ̾¾ξΤȤ䤤碌հȤ.

ʤߤˡհɬʤФʤϤȵꤵƤʤ.
Ĥޤꡤհʤ IP Address äƤ DNS Υ롼ʤ.

  • ͥåȥǤʤˤȤϤۤȤɵհ򤭤ꤷƤ
  • հʤۥȤФƤϢΥӥ򤷤ʤȤΥФ빽
  • ȵհη̤礷ʤȤʤȤ˸ΥФ빽
  • ƱͤΥåѥʤưʤޥɤ⤢

ʤɤʤɡհ򤭤ꤷʤȺ̤⤢ΤǡհǤʤ򤱤Ƥ.

DNS ξΤġ(1) host

ФˡDNS ΤˡŪΤäƤ.
ޤΤƤʤ褦˻פ"host" ޥɤհȤ˻Ȥ.

 host www.osaka-u.ac.jp 

Ȥ()

 www.osaka-u.ac.jp has address 133.1.8.18

"133.1.8.18" ֤äƤ뤷,

 host 133.1.8.18

Ȥ(հ)

 18.8.1.133.in-addr.arpa domain name pointer www.osaka-u.ac.jp.

"www.osaka-u.ac.jp." ֤äƤ*6.

嵭Τ褦ˡץ̵ host ޥɤϤäʤ"-v" ץĤȤȾϤƤ.
㤨С

 host -v www.osaka-u.ac.jp 

Ȥ, Τ褦ʽϤ*7.

 Trying "www.osaka-u.ac.jp"
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59886
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
 
 ;; QUESTION SECTION:
 ;www.osaka-u.ac.jp.             IN      A
 
 ;; ANSWER SECTION:
 www.osaka-u.ac.jp.      250145  IN      A       133.1.8.18
 
 ;; AUTHORITY SECTION:
 osaka-u.ac.jp.          250145  IN      NS      name-server.suita.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          250145  IN      NS      ns1.ai3.net.
 osaka-u.ac.jp.          250145  IN      NS      vanilla-ice.gw.osaka-u.ac.jp.
 osaka-u.ac.jp.          250145  IN      NS      ns.osaka-u.ac.jp.
 osaka-u.ac.jp.          250145  IN      NS      vanilla-ice.odins.osaka-u.ac.jp.
 
 ;; ADDITIONAL SECTION:
 vanilla-ice.gw.osaka-u.ac.jp. 83254 IN  A       133.1.192.4
 vanilla-ice.odins.osaka-u.ac.jp. 83254 IN A     133.1.192.4
 ns.osaka-u.ac.jp.       83254   IN      A       133.1.192.4
 name-server.suita.odins.osaka-u.ac.jp. 83254 IN A 133.1.119.1
 ns1.ai3.net.            103140  IN      A       202.249.24.33
 
 Received 266 bytes from 192.168.125.14#53 in 0 ms
 Trying "www.osaka-u.ac.jp"
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37870
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;www.osaka-u.ac.jp.             IN      AAAA
 
 ;; AUTHORITY SECTION:
 osaka-u.ac.jp.          1745    IN      SOA     vanilla-ice.gw.osaka-u.ac.jp. root.osaka-u.ac.jp. 2007112701 10800 1800 3600000 259200
 
 Received 91 bytes from 192.168.125.14#53 in 0 ms
 Trying "www.osaka-u.ac.jp"
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30178
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;www.osaka-u.ac.jp.             IN      MX
 
 ;; AUTHORITY SECTION:
 osaka-u.ac.jp.          1745    IN      SOA     vanilla-ice.gw.osaka-u.ac.jp. root.osaka-u.ac.jp. 2007112701 10800 1800 3600000 259200
 
 Received 91 bytes from 192.168.125.14#53 in 0 ms

ʤߤˡDNS 䤤碌ɽǡ"IN" ˤФпοФƤ뤬οϤξλĤͭ(ñ)о̣¤Ǥ.

¾ˤ⡤빽¿ͤʥץ󤬤Τǡ"man host" ȤĴ٤ƤȤ褤.

½

Ŭʥۥ̾Ф "host -v" Ĵ٤̤򡤤ޤǤμ򸵤˲ᤷƤߤ.

DNS ξΤġ(2) dig

ǯǤϡDNS 䤤碌ǹԤޥɤȤƤ "dig" ŪǤ.
Ȥ host ˻Ƥ뤬٤*8꤬ǽ.
ܤ "man dig" "dig -h" Ĵ٤Ƥ餦Ȥơ礶äѤˤϼΤ褦ˤĤ.

̾ñʤ

dig www.osaka-u.ac.jp 

Ǥ褤.
ñʤհ "-x" ץѤ

 dig -x 133.1.8.18

Ȥ.

䤤碌˻Ȥ DNS server ꤷȤϡ@Υ Ȥʸ򥪥ץȤƲä.
㤨Сη̤ www.osaka-u.ac.jp ξǤǤ DNS Server vanilla-ice.gw.osaka-u.ac.jp Ǥ뤳ȤʬΤ*9,ΥФ˲ҤͤƤߤ.

 dig @vanilla-ice.gw.osaka-u.ac.jp www.osaka-u.ac.jp

Ȥȡ

 ; <<>> DiG 9.3.3 <<>> @vanilla-ice.gw.osaka-u.ac.jp www.osaka-u.ac.jp
 ; (1 server found)
 ;; global options:  printcmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35527
 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
 
 ;; QUESTION SECTION:
 ;www.osaka-u.ac.jp.             IN      A
 
 ;; ANSWER SECTION:
 www.osaka-u.ac.jp.      259200  IN      A       133.1.8.18
 
 ;; AUTHORITY SECTION:
 osaka-u.ac.jp.          259200  IN      NS      vanilla-ice.gw.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      vanilla-ice.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      ns.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      name-server.suita.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      ns1.ai3.net.
 
 ;; ADDITIONAL SECTION:
 vanilla-ice.gw.osaka-u.ac.jp. 259200 IN A       133.1.192.4
 vanilla-ice.odins.osaka-u.ac.jp. 259200 IN A    133.1.192.4
 ns.osaka-u.ac.jp.       259200  IN      A       133.1.192.4
 name-server.suita.odins.osaka-u.ac.jp. 259200 IN A 133.1.119.1
 ns1.ai3.net.            127742  IN      A       202.249.24.33
 
 ;; Query time: 1 msec
 ;; SERVER: 133.1.192.4#53(133.1.192.4)
 ;; WHEN: Wed Jan  9 23:04:25 2008
 ;; MSG SIZE  rcvd: 266
 

ȤʤꡤʬǤԤǤˤĤƤľ˶Ƥ뤳Ȥʬ.
ǤϡĴҤˤΤäƤΥ͡ॵФ¾䤤碌򤷤Ƥߤ褦.
㤨С

 dig @vanilla-ice.gw.osaka-u.ac.jp www.yahoo.co.jp

ȤƤߤ. ȡ

 ; <<>> DiG 9.3.3 <<>> @vanilla-ice.gw.osaka-u.ac.jp www.yahoo.co.jp
 ; (1 server found)
 ;; global options:  printcmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26515
 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
 
 ;; QUESTION SECTION:
 ;www.yahoo.co.jp.               IN      A
 
 ;; AUTHORITY SECTION:
 yahoo.co.jp.            47426   IN      NS      ns10.yahoo.co.jp.
 yahoo.co.jp.            47426   IN      NS      dnsg01.yahoo.co.jp.
 
 ;; ADDITIONAL SECTION:
 ns10.yahoo.co.jp.       67433   IN      A       210.80.243.9
 dnsg01.yahoo.co.jp.     67870   IN      A       211.14.12.10
 
 ;; Query time: 2 msec
 ;; SERVER: 133.1.192.4#53(133.1.192.4)
 ;; WHEN: Wed Jan  9 23:11:31 2008
 ;; MSG SIZE  rcvd: 105

Ȥʤ("ANSWER SECTION" ̵ȡNS ɽƤ뤳ȡʤɤܤ)֤ξͤδɳʤ. ns10.yahoo.co.jp 󤢤˿ҤͤƤפȤˤʤäƤ뤳Ȥʬ*10.

ʤߤˡDNS Server ɤƤˤɤƤ뤫*11䤤碌ƤȤΥФ䤤碌ͤδط˰¸.
ܤ DNS Server ԤǤΤǡޤԤȤ(Ȼ˸ƬǤ).

ޤdig +trace ȤץĤܤ˼ʬƵŪưԤΤǡDNS λȤߤΤΤԹ礬褤.
⤦ܤ񤯤ȡΥץդǤ dig ϡ䤤碌襵ФˡƵŪƤ͡פ(Ĥޤꡤ䤤碌ꤲʤ)*12.
äƳơΥФñ˼μǺǤޥ֤ƤΤǡβȤĤʤ碌 dig ȤԤΤǤ.

㤨С

 dig +trace www.osaka-u.ac.jp

Ȥȡ

 ; <<>> DiG 9.3.3 <<>> +trace www.osaka-u.ac.jp
 ;; global options:  printcmd
 .                       10482   IN      NS      l.root-servers.net.
 .                       10482   IN      NS      d.root-servers.net.
 .                       10482   IN      NS      a.root-servers.net.
 .                       10482   IN      NS      g.root-servers.net.
 .                       10482   IN      NS      i.root-servers.net.
 .                       10482   IN      NS      k.root-servers.net.
 .                       10482   IN      NS      m.root-servers.net.
 .                       10482   IN      NS      h.root-servers.net.
 .                       10482   IN      NS      j.root-servers.net.
 .                       10482   IN      NS      f.root-servers.net.
 .                       10482   IN      NS      b.root-servers.net.
 .                       10482   IN      NS      c.root-servers.net.
 .                       10482   IN      NS      e.root-servers.net.
 ;; Received 244 bytes from 192.168.125.14#53(192.168.125.14) in 0 ms
 
 jp.                     172800  IN      NS      a.dns.jp.
 jp.                     172800  IN      NS      b.dns.jp.
 jp.                     172800  IN      NS      d.dns.jp.
 jp.                     172800  IN      NS      e.dns.jp.
 jp.                     172800  IN      NS      f.dns.jp.
 ;; Received 311 bytes from 199.7.83.42#53(l.root-servers.net) in 136 ms
 
 osaka-u.ac.jp.          86400   IN      NS      ns1.ai3.net.
 osaka-u.ac.jp.          86400   IN      NS      name-server.suita.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          86400   IN      NS      vanilla-ice.gw.osaka-u.ac.jp.
 osaka-u.ac.jp.          86400   IN      NS      vanilla-ice.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          86400   IN      NS      ns.osaka-u.ac.jp.
 ;; Received 234 bytes from 202.12.30.131#53(b.dns.jp) in 11 ms
 
 www.osaka-u.ac.jp.      259200  IN      A       133.1.8.18
 osaka-u.ac.jp.          259200  IN      NS      vanilla-ice.gw.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      vanilla-ice.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      ns.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      name-server.suita.odins.osaka-u.ac.jp.
 osaka-u.ac.jp.          259200  IN      NS      ns1.ai3.net.
 ;; Received 266 bytes from 133.1.119.1#53(name-server.suita.odins.osaka-u.ac.jp) in 1 ms

ʤɤΤ褦֤äƤ.
ߤȡ

  1. ʬĤ䤤碌ǴΥ(192.168.125.14) "." ô NS 13椢*13ȶƤäơ
  2. 13 l.root-servers.net "jp." ô NS 5椢ȶƤäơ
  3. 5 b.dns.jp "osaka-u.ac.jp." ô NS 5椢ȶƤäơ
  4. 5 name-server.suita.odins.osaka-u.ac.jp www.osaka-u.ac.jp. Υɥ쥹򶵤Ƥä

ȤήǸȤʬ.
̾ϡʤ٤ͥåȥή󤬾ʤƺѤ褦˥åʤɤ͡ʹפѤƤΤǡΤ褦ϼľ䤤碌ʤ櫓ǤϤʤ.

DNS ξΤġ(3) nslookup

dig ΤϤ褯ȤƤΤ "nslookup" ޥɤǤ.
ʤ䤤碌򤽤⤽դʤȤ䡤ȾüǤ뤳ȤʤɤäƤפȰ줿ꤷƤޤȤʤʤäƤƤ뤬å⡼ɤΤڤͤȡޤޤǤҤɤġǤϤʤ(^-^)

ष̾桼ˤȤäƤμѾΰ֤ηϡ(Ť nslookup Ǥ)հñˤǤʤȤǤ*14.

½

dig, nslookup ˤĤƥޥ˥奢Ĵ٤塤ĤΥۥȤˤĤƤΥޥɤ()쥳 A, MX ˤĤĴ٤Ƥߤ.
ޤ줿 IP ɥ쥹򸵤˵հԤäƤߤ.

ޤʬηӤΥ᡼륢ɥ쥹˥᡼Ф硤Υ᡼륵ФϤɤĴ٤Ƥߤ.

DNS server (ܺ٤ϼʹ)

ơDNS server *15եȥΥ󥹥ȡ롤ꡤƯˤꤤĤս񤤤Ƥ.

DNS server ȤƲȤ

DNS server եȥȤƤϼ BIND (Berkeley Internet Name Daemon) ȤΤȤ*16.
BIND ϡBSD ͳΥեȥǤꡤFreeBSD ǤϥǥեȤäƤΤǡۤܺǿ FreeBSD ȤäƤΤǤХ󥹥ȡȤäפǤ.
Ҥ륻ƥ꤬ΤǡλѤƤ BIND ΥСˤä˵Ȥ褦ˤ褦*17.

ȡ𤷤Ǥ뤬BIND 륳ޥɤ named (̾Υǡ󡤤ȤǤפФ褤)Ȥ̾Ǥꡤޥ˥奢ǥ쥯ȥ̾ϴŪ "named" Ȥ̾ȤΤդ.

BIND Τλ

ʤˤ BIND ϸŤ餢륽եȥΤᡤʲƤȤϤäƤ⤽եͼˤˤҤ줿ְȤʬꡤ狼ˤ*18.
DNS Ф򤬤ǤƤʤ֤եɤȲʤʬʤΤǡμͤƤ褤ܤ̤Ȥ侩.

̾
FreeBSD ƥȥ塼˥(), page 341--374.ä30ڡ DNS θ BIND ޤǤ򤭤Ȥ狼䤹Ҥ꤬. BIND 8 ˤĤƤεҤʤΤǡǸΰεҤŤʤäƤޤäƤΤߤȸз.
FreeBSD ӥʡХ֥()(), page 543--565.狼ˤɽ(^-^)ǤհѾλȤߤˤĤƾܤ񤫤ƤƤ꤬.
BIND 9 ˤ DNS й()ȤƤ狼䤹񤫤ƤƤ褤. ܵǤ. հˤĤƤϡֳ䰦פƤΤȤƤȤƤǰ(ʤʬפ񤱤Ԥˤ񤤤ߤä)
DNS & BIND (). 󥿡ͥåȤ˷ҤäƼºݤ˥͡ॵФȤʤ륵Ф򰷤ʤäƤʤȤʤ.ѤäɤǤǤȤʤɤȤϴԤƤϤʤ.

DNS server ȥƥ

DNS server ȤΤϸ cracker μʹоݤΰĤǤ뤿ᡤΥƥˤä˵ۤꤿ.
ʤ뤫ȤȡʲΤ褦ͳˤ.

(ͳ)
()
ͥåȥξäƤ
ޤ DNS server ͥåȥ/ؤιμ꤬ˤʤ
root ¤ưƤ뤳Ȥ¿
üХƥ¤򰮤뤷üʤƤⲿ뤳ȤǤ뤫
ͥåȥ󶡤Ƥ
server ֱξפή褦ǤСήԤ͡ʹˡ˻Ȥ ( web ˥ƥѥɤåȤ)

DNS server եȥ(Ѥ OS ¦)йƿʲƤƤ뤬Ԥߥʤϴ㤤ִˤפƤޤФȤߤ̣ʤʤ.
ǤΤǡDNS server ˤդʧ.

FreeBSD ǤϡƥΤᡤBIND ˤĤƤϥǥեȤǼΤ褦кܤƤ.

  1. ̤ʥ桼 bind θ¤ư. root¤ǤϤʤ.
  2. /var/named Ȥǥ쥯ȥβ BIND ưĶĤƤ. /var/named Ȥǥ쥯ȥ꤬BIND 鸫顤/ (롼ȥǥ쥯ȥ) ˸褦ʻųݤˤʤäƤ. ĤޤꡤBIND äü줿ȤƤ⡤/var/named ˤϽФʤ.

½

DNS Ф󶡤ͥåȥֵפ뤳ȤͥåȥˤĤĴ٤Ƥߤ.
/etc/namedb Ȥǥ쥯ȥ꤬ºݤˤϤɤˤ뤫Ĵ٤.

ݡ

ޤǤμ½Ԥ𤻤.
ޤ13 Υ롼ȥФɤˤ뤫(̾Ի̾)Ĵ٤.
ޤ2002ǯ2007ǯΥ롼ȥФؤιˤĤĴ٤.


*1 󡤥ͥåȥΥ롼ƥ󥰤Υѥåȥե륿󥰤ΡʬΤäƤ褤Ȥ̵¤ˤȸäƤ褤.
*2 褦˸Ȼפ. ޤѾ(delegation)ΤʤΤȸФȸ¤ʤ䤳ʤäƤΤ
*3 㤨С־Υ롼ȥɥᥤؤô͡ॵ(롼ȥФȸ) 13 椢.
*4 Start of Authority Τ. ָҤγϡפʤɤ.
*5 DNS λȤߤϤʤŤˡ֥ץʤɤǤƤ.٤ϤΤǡIJƤ.
*6 host ޥɤΧˤǸ˥ɥåȤĤɽƤ뤳Ȥ!
*7 Ū A, AAAA, MX 쥳ɤˤĤƿҤͤƤ
*8 Ȥ٤
*9 ɬ狼Ȥϸ¤ʤ
*10 餫顤餽ΥФؤ䤤碌ϾƵŪ䤤碌Ȥƽ줿餷Ȥ狼.
*11 󡤤ΥФǷޤΤ
*12 դ˸С̾ dig ޥɤϼǴ DNS Server ˡִꤲפƤǡʬϲϫƤʤ.
*13 ϡ֥롼ȥɥᥤô DNS ( 13). ɤ dig Ϥ 13ˤĤƤΤʤ褦. ե륵ӥ꥾ФȸƤФ꥾ФϡƤǽ餫餳 13ΤäƤ.
*14 Ƕ nslookup host ޥɤƱ褦 IP ɥ쥹ϤǵհǤ褦.
*15 ¾ˤϡ͡ॵФȤ̾ɤȤ
*16 ˤ¾Υեȥ⤢뤬BIND ΨϤ褽 90%ȸΤǡޤ BIND 顤ȤǤ.
*17 ʤߤˡFreeBSD 6.2 äƤ BIND ΥС 9.3.3 Ǥ褦
*18 ȤϤäƤ⡤DNS ΤäƤեɤǤֵˤʤפ sendmail եڤ˥ޥǤ.