1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.

Slides:



Advertisements
Similar presentations
Web Server Administration
Advertisements

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.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 7 Domain Name System.
DNS Domain Name System. Domain names and IP addresses People prefer to use easy-to-remember names instead of IP addresses Domain names are alphanumeric.
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.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 25 Domain Name System.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
Module 12: Domain Name System (DNS)
DNS Domain Name Service References: Wikipedia 1.
Domain Name Services Oakton Community College CIS 238.
Configuring and Managing the DNS Server Role Lesson 4.
Host Name Resolution. Overview Name resolution Name resolution Addressing a host Addressing a host Host names Host names Host name resolution Host name.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
Name Resolution Domain Name System.
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.

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.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
14 DNS : The Domain Name System. 14 Introduction - Problem Computers are used to work with numbers Humans are used to work with names ==> IP addresses.
Chapter 17 Domain Name System
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
ITEC350 Networks I Lecture 3. DNS (Domain Name Service)
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
1 Kyung Hee University Chapter 18 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Configuring Name Resolution and Additional Services Lesson 12.
Windows Server 2003 DNS 安裝設定與管理維護 林寶森
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.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
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
Domain Name System (DNS)
Web Server Administration Chapter 4 Name Resolution.
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.
Configuring and Managing the DNS Server Role Lesson 4.
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY IT375 Window Enterprise Administration Course Name – IT Introduction to Network Security Instructor.
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley Setting up an Authoritative Name Server.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Understand Names Resolution
Domain Name System (DNS)
Networking Applications
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Domain Name System: DNS
DNS (Domain Name System)
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.
LINUX ADMINISTRATION 1
Configuring and Managing the DNS Server Role
Net 323 D: Networks Protocols
Domain Name System (DNS)
Chapter 25 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Windows Name Resolution
Presentation transcript:

1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology

2 What is DNS? DNS is a hierachical,distributed database for resolving Host Name to IP and vice versa DNS contains information for – Mapping registered full qualify domain name of host computers to IP addresses – Mapping registered network address to FQDN – Routing electronic mails – Other internet applications

3 Hierarchical Namespace Partitioned into divisions

4 Fully Qualified Domain Names Fully Qualified Domain Names: – A domain name ends in a dot e.g. cs.senecac.on.ca.cs.senecac.on.ca – a.k.a. absolute domain name a.k.a – Host name: – zenit, my – Domain Name: – zenit.senecac.on.ca., my.senecacollege.ca

5 Generic Domains Top-level domains ● com. - commerical organizations ● edu. - education institutions ● gov. - Government institutions ● net. - major network support centres ● org. - non-profit organizations ● country code – ISO letter country domain ● Others...

6 DNS Servers DNS Server: – Maps domain names to IP addresses – Holds a portions of the name-to-address mapping database – Answers queries requested from other name servers, or clients, called resolver – Maps IP addresses to domain names (pointer query)

7 in-addr.arpa domain in-addr.arpa domain (for IPv4) – Is the name space for reverse mapping – Each label can only take the decimal number 0 to 255 – Host with IP address a.b.c.d will be represented as d.c.b.a.in-addr.arpaa.b.c.d d.c.b.a.in-addr.arpa e.g. IP > in-addr.arpa

8 Distributed Name Space ● Domain and subdomain ● Zones of authority – group of symbolic name ● Name server – maintains a database of symbolic names and IP addresses and provides service of mapping between symbolic names and IP addresses. ● Delegate authority – for sub-domain ● Root Name servers – authority for the top level zone “.”

9 Domain Name Resolution ● A user program issues a request to the resolver ● The resolver formulates a query to the name server ● Name server checks its authoritative database or cache, and/or query other available name servers, starting from the root name server ● User program get the answer or an error

10 Different type of Name Server ● Caching Only Name Server (needs hint file) ● Authoritative Name Server (needs zone file(s)) ● Combination of both

11 Full Resolver User Program Full Resolver Name Server Cache Database Other Name Server Cache User Query Query Response

12 Authoritative Name Server User Program Full Resolver Auth. Name Server Cache Database User Query Query Response

13 Caching Name Server User Program Full Resolver Caching Name Server Cache Other Name Server Cache User Query Query Response (hint file)

14 Mixed-Mode Name Server User Program Full Resolver Name Server Cache Database Other Name Server Cache User Query Query Response

15 Resover Query/Response ● Query: – Recursive – Iterative (non-recursive) ● Response – Authoritative – Non-authoritative

16 Name Servers ● Primary Name Server – Read zone data from some local files and has authority over the zone. ● Secondary Name Servers – Has authority for a zone, but obtains its zone information from a primary name server by the zone transfer process ● Caching-only name server – Cache DNS info queried from other NS

17 Resource Records in Zone File ● Basic component of the DNS distributed Database ● Divided into classes for different kinds of networks ● IN – internet class e.g. SOA, A, NS, CNAME, MX, PTR ● Each zone must have SOA and NS records

18 RR Format ● Name: domain name to be defined ● TTL: Time-to-live in seconds (cache limit) ● Class: IN ● Type: Resource record type ● Rdata: value of the record (depends on type) Name TTL ClassTypeRdata

19 RR Examples ● SOA Record – Start of IN SOA abc.mydomain.ca root.abc.mydomain.ca (abc.mydomain.caroot.abc.mydomain.ca ;serial no 3600 ;refresh 600 ;retry ;expire 86400) ;minimum The above five numbers are used by slave server.

20 RR Examples 2 More: cs.senecac.on.cacs.senecac.on.ca. IN A senecac.on.casenecac.on.ca. IN MX 10 mail 23 IN PTR scs senecac.on.casenecac.on.ca IN NS prime scs IN CNAME cs

21 Setup your own Domain ● What is Domain Name Registration? ● What Domain Name is available? ● How do you register your Domain Name? ● How to setup your Name server? ● How to make your name server visible on the Internet?

22 Pick Your Own Domain Domain Names: ● A sequence of labels separated by dots ● Label: a-z, A-Z, 0-9, - and _ e.g. pod1.com, pod2.com, etc

23 How to register? ● What is your Domain Name? ● How many labels are there in your Domain Name? ● Remove the first label on the left of your domain name and the remaining is your parent domain. ● Who has authority on your parent domain? ● Go register with that authority.

24 How to setup your domain? ● Setup a Primary Namer Server (Bind 9.2.1) ● Create forward lookup zone file(s) ● Create reverse lookup zone file(s) ● Populate your zone files with – SOA record – A records – PTR records – NS records – MX records

25 Make your NS visible ● Tell people about the IP address of your Name Server. ● Test your name server. ● Ask the DNS administrator of your parent domain to delegate the zone for your domain to your name server. ● Test your Name Server on Internet. ● Mission accomplished!

26 Troubleshooting DNS Nslookup (Interactive mode) Set options: novc nodebug nod2 search recurse timeout = 0 retry = 2 port = 53 querytype = A class = IN srchlist = senecac.on.ca

27 DNS Troubleshooting nslookup ● set type=value – A, CNAME, MX, SOA, NS, PTR, ANY ● set debug - Turn debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer. (Default = nodebug)

28 DNS Troubleshooting nslookup ● Set norecurse - Tell the name server NOT to query other servers if it does not have the information. (Default = recurse; abbreviation = [no] rec) rndc- name server control utility – reload, status, dumpdb,

29 DNS Tools The following utilities come with bind-utils package: ● nslookup ● dig ● host ● Consult the man for details.

30 RFCs ● 1032 – Domain Administrator's Guide ● 1033 – Domain Administrator Operation Guide ● 1034 – Domain Names – Concepts and Facilities ● 1035 – Domain Names – Implementation and Specification ● 1713 – Tools for DNS debugging ● 1912 – Common DNS operational and Config. Errors Plus “rpm -ql bind | grep rfc”

31 DNS Q & A