170 likes | 294 Views
ravel@sparcs. dNS II. DNS. 1. 2. ravel. s parcs.org. org. 3. 10. 4. 6. 9. 5. 8. blog.naver.com. naver.com. com. 7. DNS. s parcs.org. DNS server 인 동시에 client!. as DNS client : resolver. search. nameserver. as DNS server : named. 부팅 때 named 가 시작 named.boot. named.boot.
E N D
ravel@sparcs dNSII
DNS 1 2 ravel sparcs.org org 3 10 4 6 9 5 8 blog.naver.com naver.com com 7
DNS sparcs.org DNS server인 동시에 client!
as DNS server : named • 부팅 때 named가 시작 • named.boot
DNS database • [name] [ttl] [class] type data
DNS database - name • 이름 / 절대 이름 • 절대 이름은 .(period)으로 끝남 • Ex)domain : sparcs.org name : a a.sparcs.org name : a.sparcs.org a.sparcs.org.sparcs.org
DNS database - class • IN / CH / HS • IN
DNS database – type SOA • zone의 처음에 와야함 • @ IN SOA domain admin serial refresh retry expire minimum • @ IN SOA sparcs.kaist.ac.kr admin.sparcs.kaist.ac.kr 1001 21600 1800 1209600 432000
DNS database – type NS • SOA 다음에… • Zone [ttl] [class] NS hostname • sparcs.kaist.ac.kr. IN NS ns.sparcs.kaist.ac.krsparcs.kaist.ac.kr. IN NS ns2.sparcs.kaist.ac.kr
DNS database – type A • hostname [ttl] [class] A ipaddr • Ex)ravel IN A 143.248.234.112 • (geogy)
DNS database – type PTR • Ipaddr [ttl] [class] PTR hostname • Ex)143.248.234.112 IN A ravel • 143.248.234.112.IN-ADDR.ARPA. • A와 짝
DNS database – type MX • name [ttl] [class] preference hostname • Ex)ravel IN MX 10 ravel IN MX 20 mail IN MX 30 sparcs.org.
DNS database – other types • CNAME (nickname) • HINFO (System information) • WKS (supported services) • TXT (comment) • …..