DNS. Agenda  DNS Basic  Zone Delegation  Half Class-C reverse lookup  Webmin  Tools  參考資料.

Slides:



Advertisements
Similar presentations
INTERNET PROTOCOLS Class 9 CSCI 6433 David C. Roberts Entire contents copyright 2011, David C. Roberts, all rights reserved.
Advertisements

Sergei Komarov. DNS  Mechanism for IP hostname resolution  Globally distributed database  Hierarchical structure  Comprised of three components.
Web Server Administration
2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Web Server Administration Chapter 4 Name Resolution.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
COS 420 DAY 23. Agenda Assignment 4 Corrected 2 B’s Assignment 5 posted Chap Due May 4 Final exam will be take home and handed out May 4 and Due.
20101 The Application Layer Domain Name System Chapter 7.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
Domain Name System: DNS
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Module 12: Domain Name System (DNS)
DOMAIN NAME SYSTEM. Domain Name System Hostname Resolution DNS Name Lookup with DNS Domain Name Servers DNS Database Reverse Lookups.
DNS Domain Name Service References: Wikipedia 1.
Domain Name Services Oakton Community College CIS 238.
Windows Server 2008 Chapter 8 Last Update
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
The University of Akron Summit College Business Technology Dept.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
The Domain Name System. Computer Center, CS, NCTU 2 History of DNS  Before DNS ARPAnet  HOSTS.txt contains all the hosts’ information  Maintained by.
Name Resolution Domain Name System.
TELE 301 Lecture 11: DNS 1 Overview Last Lecture –Scheduled tasks and log management This Lecture –DNS Next Lecture –Address assignment (DHCP)
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Domain Names System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.

CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Domain names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 25 (Data Communication & Networking Book): Domain Name System (DNS) 1.
Chapter 17 Domain Name System
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
Domain Name System CH 25 Aseel Alturki
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
1 Kyung Hee University Chapter 18 Domain Name System.
Configuring Name Resolution and Additional Services Lesson 12.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
1 Domain Name System (DNS). 2 3 How DNS Works Application Transport Internet Network Application Transport Internet Network DNS Resolver Name Server.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Linux Operations and Administration
4343 X2 – Outline The Domain Name System The Web.
Web Server Administration Chapter 4 Name Resolution.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Internet Naming Service: DNS* Chapter 5. The Name Space The name space is the structure of the DNS database –An inverted tree with the root node at the.
4343 X2 – The Application Layer Tanenbaum Chapter 7.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY IT375 Window Enterprise Administration Course Name – IT Introduction to Network Security Instructor.
MAN-IN-THE-MIDDLE ATTACK STEGANOGRAPHY Lab# MAC Addresses and ARP  32-bit IP address:  network-layer address  used to get datagram to destination.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Understand Names Resolution
Networking Applications
Module 5: Resolving Host Names by Using Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
Configuring and Troubleshooting DNS
Chapter 25 Domain Name System.
Configuring and Managing the DNS Server Role
Net 323 D: Networks Protocols
Domain Name System (DNS)
Chapter 25 Domain Name System.
The Domain Name System.
Presentation transcript:

DNS

Agenda  DNS Basic  Zone Delegation  Half Class-C reverse lookup  Webmin  Tools  參考資料

DNS Basic  One of the main goals of the design of the Domain Name System was to decentralize administration

DNS Basic  Name Servers and Zones  The programs that store information about the domain name space are called name servers.  Name servers generally have complete information about some part of the domain name space, called a zone, which they load from a file or from another name server. The name server is then said to have authority for that zone.

DNS Basic The edu domain broken into zones

DNS Basic The berkeley.edu domain broken into zones

DNS Basic The Domain ca The Zone ca

DNS Basic

 Name servers can be authoritative for multiple zones.

DNS Basic Root arpaorgedugovcommilnettwukjpcn … in-addrmitnyu…nchu…nctu eeapmwww… … …

DNS Basic  TLD (Top-Level Domains)  The original top-level domains divided the Internet domain name space organizationally into seven domains  com Commercial organizations, such as Hewlett-Packard (hp.com), Sun Microsystems (sun.com), and IBM (ibm.com)  edu Educational organizations, such as U.C. Berkeley (berkeley.edu) and Purdue University (purdue.edu)

DNS Basic  gov Government organizations, such as NASA (nasa.gov) and the National Science Foundation (nsf.gov)  mil Military organizations, such as the U.S. Army (army.mil) and Navy (navy.mil)  net Networking organizations, such as NSFNET (nsf.net)  org Noncommercial organizations, such as the Electronic Frontier Foundation (eff.org)  int International organizations, such as NATO (nato.int)

DNS Basic  New Top Level Domain  ICANN is working to add seven new TLDs to the Internet's domain-name system.  In November 2000, after extensive discussions throughout the global Internet community, the ICANN Board selected seven TLD proposals to be included in the first addition of a global TLD to the Internet since the 1980s.  The selected TLDs are:.aero (for the air-transport industry),.biz (for businesses),.coop (for cooperatives),.info (for all uses),.museum (for museums),.name (for individuals), and.pro (for professions).

DNS Basic .biz is already fully operational and accepting live registrations. For more information on these.biz, please visit the website of NeuLevel, Inc., the company selected to operate this new TLD:. .info is also fully operational and accepting live registrations. More info on.info registration is availble at the website of the.info registry operator, Afilias Limited, at .name is fully operational and accepting live registrations. The company selected to operate.name, Global Name Registry, has posted an informational page at.

DNS Basic .museum is also operational. he.museum TLD is sponsored by Museum Domain Management Association (MuseDoma). MuseDoma's informational site can be ocated at. .coop is operational. The.coop TLD is ponsored by the National Cooperative Business ssociation (NCBA). An informational site for.coop is available at. .aero is operational and is sponsored by Societe Internationale de Telecommunications Aeronautiques SC (SITA). For more information on.aero, please visit.

DNS Basic  The.pro registry agreement is still under negotiation. More information on.pro is available at the website of the registry operator, RegistryPro, Ltd., at.

DNS Basic - Resolver  Resolvers are the clients that access name servers. Programs running on a host that need information from the domain name space use the resolver. The resolver handles:  Querying a name server  Interpreting responses (which may be resource records or an error)  Returning the information to the programs that requested it  In BIND, the resolver is just a set of library routines that is linked into programs such as telnet and ftp. It's not even a separate process.

DNS Basic Resolution of girigiri.gbrmpa.gov.au on the Internet

DNS Basic The resolution process

DNS Basic addr.arpa domain

DNS Basic - Caching Resolving baobab.cs.berkeley.edu

DNS Basic - TTL  TTL (Time To Life)  Name servers can't cache data forever.  The administrator of the zone that contains the data decides on a time to live, or TTL, for the data.  The time to live is the amount of time that any name server is allowed to cache the data. After the time to live expires, the name server must discard the cached data and get new data from the authoritative name servers.  Deciding on a time to live for your data is essentially deciding on a trade-off between performance and consistency.

Zone Delegation  edu.tw  moesun.edu.tw  a.twnic.net.tw  b.twnic.net.tw  c.twnic.net.tw  tc.edu.tw  nchud1.nchu.edu.tw  pds.nchu.edu.tw

Zone Delegation  tcc.edu.tw  dns.boe.tcc.edu.tw  chc.edu.tw  dns.chc.edu.tw  encntc.edu.tw  ntcg.encntc.edu.tw  in-addr.arpa  pds.nchu.edu.tw  nchud1.nchu.edu.tw

Zone Delegation  in-addr.arpa  pds.nchu.edu.tw  nchud1.nchu.edu.tw  in-addr.arpa  pds.nchu.edu.tw  nchud1.nchu.edu.tw  in-addr.arpa  dns.ncue.edu.tw  life.ncue.edu.tw

Half Class-C Reverse Lookup  RFC 2317  Classless IN-ADDR.ARPA delegation  IN-ADDR.ARPA delegation on non-octet boundaries for address spaces covering fewer than 256 addresses.  The proposed method is fully compatible with the original DNS lookup mechanisms.

Half Class-C Reverse Lookup  Let us assume we have assigned the address spaces to three different parties as follows:  /25 to organization A  /26 to organization B  /26 to organization C

Half Class-C Reverse Lookup  In the classical approach, this would lead to a single zone like this: $ORIGIN in-addr.arpa. ; 1PTR host1.A.domain. 2PTR host2.A.domain. 3 PTR host3.A.domain. ; 129PTR host1.B.domain. 130 PTR host2.B.domain. 131 PTR host3.B.domain. ; 193PTR host1.C.domain. 194 PTR host2.C.domain. 195 PTR host3.C.domain.

Half Class-C Reverse Lookup  by using the first address or the first address and the network mask length (as shown below)in the corresponding address space to form the the first component in the name for the zones.  The following four zone files show how the problem in the motivation section could be solved using this method.

Half Class-C Reverse Lookup $ORIGIN SOA my-ns.my.domain. hostmaster.my.domain. (...) ;... ; >/25 0/25 NS ns.A.domain. 0/25 NS some.other.name.server. ; 1CNAME 1.0/ in-addr.arpa. 2 CNAME 2.0/ in-addr.arpa. 3 CNAME 3.0/ in-addr.arpa. ; ; >/26 128/26 NS ns.B.domain. 128/26 NS some.other.name.server.too. ; 129CNAME / in-addr.arpa. 130 CNAME / in-addr.arpa. 131 CNAME / in-addr.arpa.

Half Class-C Reverse Lookup ; ; >/26 192/26 NS ns.C.domain. 192/26 NS ome.other.third.name.server. ; 193CNAME / in-addr.arpa. 194 CNAME / in-addr.arpa. 195 CNAME / in-addr.arpa. $ORIGIN N SOA ns.A.domain. hostmaster.A.domain. NS NS some.other.name.server. ; 1 PTR host1.A.domain. 2 PTR host2.A.domain. 3 PTR host3.A.domain.

Half Class-C Reverse Lookup $ORIGIN IN SOA ns.B.domain. hostmaster.B.domain. NS NS some.other.name.server.too. ; 129 PTR host1.B.domain. 130 PTR host2.B.domain. 131 PTR host3.B.domain. $ORIGIN IN SOA ns.C.domain. hostmaster.C.domain. NS NS some.other.third.name.server. ; 193 PTR host1.C.domain. 194 PTR host2.C.domain. 195 PTR host3.C.domain.

Dynamic Update  BIND 8 also supports the dynamic update facility described in RFC This permits authorized updaters to add and delete resource records from a zone for which the server is authoritative. An updater can find the authoritative name servers for a zone by retrieving the zone's NS records. If the server receiving an authorized update message is not the primary master for the zone, it will forward the update "upstream" to its master server(s). If they, in turn, are slaves for the zone, they will also forward the update upstream. command : nsupdate

Webmin

Webmin

Webmin URL :

Tools  Nslookup  Dig  host

參考資料   RFC 2317  Classless IN-ADDR.ARPA delegation   Some of the important features of BIND 9  DNS Security  DNSSEC (signed zones)  TSIG (signed DNS requests)  IP version 6  Answers DNS queries on IPv6 sockets  IPv6 resource records (A6, DNAME, etc.)  Bitstring Labels  Experimental IPv6 Resolver Library

參考資料  DNS Protocol Enhancements  IXFR, DDNS, Notify, EDNS0  Improved standards conformance  Views  One server process can provide multiple "views" of the DNS namespace, e.g. an "inside" view to certain clients, and an "outside" view to others.  Multiprocessor Support  Improved Portability Architecture