New SA Training Topic 7: DNS and DHCP To implement the underlying basis for our organizations networking, we rely on two fundamental services  DNS – the.

Slides:



Advertisements
Similar presentations
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
Advertisements

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.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Copyright © 2007 by Scott Orr and the Trustees of Indiana University
DNS server & Client Objectives Contents
DNS Domain name server – a server to translate IP aliases to addresses As you know, IP (internet protocol) works by providing every Internet machine with.
DNS. DNS is a network service that enables clients to resolve names to IP address and vice-versa. Allows machines to be logically grouped by domain names.
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.
Chapter 9: Configuring DNS for Active Directory
Chapter 4 - Lab DNS Configuration in Linux.  DNS Configuration in Linux Projects 4-1 through 4-3 Projects 4-4 deals with multiple domains  DNS Configuration.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Recursive Server. Overview Recursive Service Root server list localhost in-addr.arpa named.conf.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
DOMAIN NAMING SYSTEM (AN OVERVIEW) By -DEEPAK. Topics --DNS What is DNS? Purpose of DNS DNS configuration files.
Network Protocols Transmission Control Protocol/Internet Protocol (TCP/IP) Asynchronous Transfer Mode (ATM) NWLink NetBIOS Enhanced User Interface (NetBEUI)
Module 12: Domain Name System (DNS)
DNS Setup DNS CONFIGURATION. DNS Configuration DNS Setup named daemon is used A DNS Server may be caching/master/slave server The named.ca file has information.
Chapter 10 Configuring DNS
Domain Name Services Oakton Community College CIS 238.
Copyright line. Configuring DNS EXAM OBJECTIVES  An Introduction to Domain Name System (DNS)  Configuring a DNS Server  Creating DNS Zones  Configuring.
Configuring and Managing the DNS Server Role Lesson 4.
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.
DNS and Active Directory Integration
Chapter Overview Understanding DNS Creating Zones
DHCP server & Client Objectives Contents
DHCP. DHCP (Dynamic Host Configuration Protocol) is a network service that enables clients to obtain network settings (IP Address, Subnet Mask, Default.
Name Resolution Domain Name System.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Chapter 13 Microsoft DNS Server n DNS server: A Microsoft service that resolves computer names to IP addresses, such as resolving the computer name Brown.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
DHCP Ana Chanaba Robert Huylo. DHCP Background / Server dhcpd - Dynamic Host Configuration Protocol Server allows hosts on a TCP/IP network to request.
DHCP server & Client Objectives –to learn how to setup dhcp servers Contents –Download and Install The DHCP Package –The /etc/dhcpd.conf File –Upgrading.
Dynamic Host Configuration Protocol and IP Address Assignment CIS 238 Oakton Community College.
Links and LANs Link between two computers via cross cable The most simple way to connect two hosts is to link the two hosts with a cross cable.
1 Domain Name System. 2 Resolve IP to a Name /etc/hosts  The /etc/hosts file is just a list of IP addresses and their corresponding server names.  Your.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
Configuring Name Resolution and Additional Services Lesson 12.
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.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol.
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.
CIS 192B – Lesson 2 Domain Name System. CIS 192B – Lesson 2 Types of Services Infrastructure –DHCP, DNS, NIS, AD, TIME Intranet –SSH, NFS, SAMBA Internet.
DNS server & Client Objectives –to learn how to setup dns servers Contents –An Introduction to DNS –How To Download and Install The BIND Packages –How.
Linux Operations and Administration
Sample DNS configurations. Example 1: Master 'master' DNS and is authoritative for this zone for example.com provides 'caching' services for all other.
DNS - BIND9 Přednášející Vaše jméno. Master and caching name server options { directory "/var/named"; allow-transfer {“none”;}; }; zone "." { type hint;
Linux Operations and Administration
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
NT1330 Client Server Networking 2
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
2/26/2003 Lecture 4 Computer System Administration Lecture 4 Networking Startup/DNS.
WHAT IS DNS??????????.
Juan Ortega 10/7/09 NTW342. Setting up the Configuration File ddns-update-style interim; Ignore client-updates; Subnet netmask
Configuring and Managing the DNS Server Role Lesson 4.
DNS Domain name server a server to translate IP aliases to addresses
Understand Names Resolution
Module 5: Resolving Host Names by Using Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
LINUX ADMINISTRATION 1
DNS and Bind Presenter David Wood
Windows Name Resolution
Presentation transcript:

New SA Training Topic 7: DNS and DHCP To implement the underlying basis for our organizations networking, we rely on two fundamental services  DNS – the hierarchical system by which host (computer, printer, etc.) names can be are translated to IP addresses – and IP addresses to names.  DHCP – the protocol which allows hosts to receive basic configuration information (most commonly, the IP address) necessary for communication on a given network.

DNS - Overview Three components: resolver (client) name server (named) zone files (or some form of database, like AD). A zone corresponds roughly to a domain. Resolver is set in platform-specific ways. Though other information can be configured as well, the two key items are: What domain am I in by default? What servers should I get DNS information from?

DNS - Overview (cont.) Servers can be: Masters that are the authoritative source for a domain Slaves that download information from a master via zone transfers Caching-only servers that only cache queries and don't pre-fetch Zone files are databases -- we'll discuss this in a bit more detail when we see actual named.conf and zone files

DNS - Platform-specific Issues Windows client configuration is handled via DHCP or through the GUI Linux client is managed in /etc/resolv.conf Windows server DNS is usually managed through the Microsoft Management Console (MMC) and can be configured as part of Active Directory (AD) Linux server is named and base configuration is in /etc/named.conf, but the actual zone files themselves are typically in /var/named

DNS - sample named.conf options { directory "/var/named"; }; // a master server configuration zone "." { type hint; file "named.ca"; }; zone " in-addr.arpa" { type master; file "named.local"; }; zone "mylab.net" { type master; file "mylab.net.hosts"; }; zone " in-addr.arpa" { type master; file " reverse"; };

DNS - sample zone file $TTL IN SOA mylab.net. ( ; Serial ; Slave Refresh 1800 ; Slave Retry ; Slave Expire 900 ) ; Negative cache TTL IN NS ns1.mylab.net. ; Defines a name server IN NS ns2.mylab.net. ; Defines a name server IN NS ns-server.myisp.com. ; Defines a name server IN MX 10 mail.mylab.net. ; Defines a mail server IN MX 20 backup-mail.mylab.net. ; Defines a mail server localhost IN A ; Defines the local host socrates IN A ; Defines a host in this zone plato IN A ; Defines a host in this zone ns1 IN A ; Defines a host in this zone ns2 IN A mail IN A loghost IN CNAME plato.mylab.net. ; Defines a host in this zone backup-mail IN CNAME ns2.mylab.net. ; Defines a host in this zone aristotle IN A ; Defines a host in this zone alexander IN A

DNS - A few things to note Each zone needs a separate zone file, which holds the actual DNS contents Types of records/entries header/localhost/host order header contents Order of entries is arbitrary, but it helps to be human- friendly Without PTR records (in the.in-addr.arpa domain), reverse lookups won't work. This is where DHCP breaks static DNS and makes DDNS useful.

DNS – sample reverse zone file $TTL ; Addresses and other host information for the domain in- IN SOA mylab.net. ( ; Serial ; Refresh 1800 ; Retry ; Expire 900 ) ; Negative cache TTL 1.1 IN PTR socrates.mylab.net. 2.1 IN PTR plato.mylab.net. 3.1 IN PTR ns1.mylab.net. 4.1 IN PTR ns2.mylab.net. 5.1 IN PTR mail.mylab.net. 6.1 IN PTR aristotle.mylab.net. 7.1 IN PTR alexander.mylab.net.

DNS Exercise Let’s think about adding a domain to DNS Let’s think about looking up a host’s IP

Organizational addressing  For the initial setup of our new business locations, you will use the 10.1.x.x range  x – Abingdon, VA  x – Caro, WV  x – Chattanooga, TN  x – Kiawah, SC  x – Mortimer, NC  x – York, PA  x – Cleveland, OH

DHCP - Background Basic idea is that systems will lease an IP address rather than be assigned one statically. This simplifies a traditional problem: keeping track of which IP addresses in a set are free. Leasable parameters include: IP addresses and netmasks Gateways (default routes) DNS name servers Logging hosts

DHCP – How it works Client: who am I? Server: Would you like a lease for IP address BLAH? Client: I would like to lease IP address BLAH Server: Ok Note the four step process: Discovery/Offer/Request/Acknowledge

DHCP - Platform-specific Issues Windows client is handled through the ipconfig command or through the GUI Linux client is handled through pump as part of /etc/sysconfig/network-scripts/ifcfg* Windows server is managed through the Microsoft Management Console (MMC) Linux server is dhcpd and configuration is in /etc/dhcpd.conf

DHCP - sample dhcpd.conf # dhcpd.conf # # global options option domain-name "mylab.test"; option domain-name-servers ns1.mylab.test; option subnet-mask default-lease-time 600; max-lease-time 7200; subnet netmask { range ; option broadcast-address ; option routers gateway.mylab.test; }

DHCP Exercise Question: What would happen if there were two DHCP servers on a single network, with a client attempting to lease an IP address? Describe a potential successful scenario and a potential failure.