360 likes | 617 Views
DNS. hodduc@sparcs. 7. 기타 시스템 관리. 8. 네트워크 , TCP/IP. 9 . DNS. 10. NFS. 11. 프로그래밍 도구 및 쉘 프로그래밍. What is dns ?. What is DNS?. DNS Domain Name Service Domain Name System. What is DNS?. Q: “ara.kaist.ac.kr”? A: “143.248.234.103”. Translation services between two namespaces :
E N D
DNS hodduc@sparcs
7. 기타 시스템 관리 8. 네트워크, TCP/IP 9. DNS 10. NFS 11. 프로그래밍 도구 및 쉘 프로그래밍 2010 Pre-wheel group seminar : hodduc@sparcs
What is dns? 2010 Pre-wheel group seminar : hodduc@sparcs
What is DNS? DNS Domain Name Service Domain Name System 2010 Pre-wheel group seminar : hodduc@sparcs
What is DNS? Q: “ara.kaist.ac.kr”? A: “143.248.234.103” • Translation services between two namespaces : • Domain name hierachy • Internet Protocol (IP) address (IPv4, IPv6) “Go to 143.248.234.103” “Where is ara.kaist.ac.kr?” Your computer With ara Your computer DNS Q: “143.248.234.103”? A: “ara.kaist.ac.kr” 2010 Pre-wheel group seminar : hodduc@sparcs
Domain Name Space 2010 Pre-wheel group seminar : hodduc@sparcs
Domain Name Space Domain Name Space! (≠DNS ) Country-code top-level domains(ccTLD) Generic top-level domains (gTLD) Each node or leaf has 0 or more info about domain name (a.k.a Resource Records, RR) 2010 Pre-wheel group seminar : hodduc@sparcs
DNS Zone 2010 Pre-wheel group seminar : hodduc@sparcs
DNS Zone www.kaist.ac.kr = 143.248.5.102 ara.kaist.ac.kr = 143.248.234.103 hodduc.kaist.ac.kr = 143.248.234.77 …… 위임 Name Serverof “kaist.ac.kr” zone ns.kaist.ac.kr(143.248.1.177) Name Serverof “ac.kr” zone 위임 www.postech.ac.kr = 141.223.5.10 bric.postech.ac.kr = 141.223.114.1 …… 한국인터넷진흥원 Name Serverof “postech.ac.kr” zone ns.postech.ac.kr(141.223.1.2) 2010 Pre-wheel group seminar : hodduc@sparcs
Naming Convention • FQDN(Full Qualified Domain Name) • 루트 도메인부터 해당 노드까지의 각 계층을 모두 표시 • 단, 계층과 계층 사이는 .으로 잇는다 • LDH rule : Letters(a-zA-Z), Digits(0-9), Hyphen • Case Insensitive • May not start or end with Hyphen 2010 Pre-wheel group seminar : hodduc@sparcs
Naming Convention NO Is it valid? ara.kaist.ac.kr. Do not miss root domain! Question: Assume that system’s Default Host : kaist.ac.kr. Someone asks : “Please find hodduc.sparcs.org” 1. hodduc.sparcs.org.kaist.ac.kr ? 2. hodduc.sparcs.org ? 3. Attack japan? (…) Answer : 1. If user wants the second, user should have ask “Please find hodduc.sparcs.org.” ara.kaist.ac.kr 2010 Pre-wheel group seminar : hodduc@sparcs
Resource Records 2010 Pre-wheel group seminar : hodduc@sparcs
Resource Records 2010 Pre-wheel group seminar : hodduc@sparcs Name 도메인 네임(Key Index) TTL Time To Live. (on cache table) Class Deprecated (‘IN’ only) Type 리소스 레코드 유형 RDATA 실제 데이터. Type에 따라 다름
Resource Types 물.론 훨씬 더 많지만.. 주로 사용하는 것은 정해져 있음. (나머지는 구글링!) 2010 Pre-wheel group seminar : hodduc@sparcs
Resource Types 2010 Pre-wheel group seminar : hodduc@sparcs
Protocol 2010 Pre-wheel group seminar : hodduc@sparcs
혹시나 해서… Protocol : 표준화된 통신규약 2010 Pre-wheel group seminar : hodduc@sparcs
ara.kaist.ac.kr ㄱㄱ ara.kaist.ac.kr★☆★☆ara.kaist.ac.kr★☆★☆ ara.kaist.ac.kr★☆★☆ ara.kaist.ac.kr★☆★☆ ara.kaist.ac.kr★☆★☆ ara.kaist.ac.kr★☆★☆ ara.kaist.ac.kr★☆★☆ ara.kaist.ac.kr★☆★☆ Hobbac ㅡ.ㅡ? DNS ara.kaist.ac.kr واسمحوا Odduc Hotdog 2010 Pre-wheel group seminar : hodduc@sparcs
DNS Lookups Port : UDP 53. 단 동일한 zone의 NS 동기화 등을 비롯해 큰 자료 전송시TCP 53 포트도 사용함 2010 Pre-wheel group seminar : hodduc@sparcs
감이 잘 안 오시죠? 직접 보여드립니다 2010 Pre-wheel group seminar : hodduc@sparcs
Dns Architecture 2010 Pre-wheel group seminar : hodduc@sparcs
Domain Querying .kr !! ac.kr !! .kr ? Kaist.ac.kr !! ara.kaist.ac.kr It is 143.248.234.103 2010 Pre-wheel group seminar : hodduc@sparcs
Domain Update updated 2010 Pre-wheel group seminar : hodduc@sparcs
Useful Tools about dns 2010 Pre-wheel group seminar : hodduc@sparcs
Hosts 2010 Pre-wheel group seminar : hodduc@sparcs
Hosts 2010 Pre-wheel group seminar : hodduc@sparcs
Hosts 2010 Pre-wheel group seminar : hodduc@sparcs
DNSEver 웹 기반 DNS 서버 개인이 직접 네임서버를 구축하기 어려운 경우(호스팅 계정이나 블로그에 도메인을 연결하는 경우 등) 2010 Pre-wheel group seminar : hodduc@sparcs
Nslookup DNS Server lookup software Linux에도 있으나 이것만큼은 윈도우가.. Demo 2010 Pre-wheel group seminar : hodduc@sparcs
Bind 이건 다음 세미나를 기대하시길.. ‘3’ Berkeley Internet Name Daemon 네임 서버 구축 프로그램 2010 Pre-wheel group seminar : hodduc@sparcs
question 2010 Pre-wheel group seminar : hodduc@sparcs
References • SPARCS seminar – pipoket-20090728 • En.wikipedia.org/Domain_Name_Service • “dns서버운영지침서.pdf” on http://dns.kisa.or.kr/main.jsp └강력 추천(무려 한글문서) 2010 Pre-wheel group seminar : hodduc@sparcs
hodduc@sparcs Thank you! 2010 Pre-wheel group seminar : hodduc@sparcs