Linux Network Administration

Size: px
Start display at page:

Download "Linux Network Administration"

Transcription

1 Linux Network Administration Objective Describe the organization of the namespace Define the top-level subdomains of the Describe the process of converting IP addresses into names Define the concept of zones as used in the namespace Describe the three classes of name servers List the steps required when a name server sends a query up the hierarchy Describe the purpose and usefulness of caching-only name servers Describe the general format of a zone file Describe the format of SOA, A, PTR, HINFO, CNAME, and NS records 29 June June

2 Introduction The Domain Name Service () is an Internet-wide service for converting numeric IP addresses to host names and back It may also be used on networks without an Internet connection setting up is a worthwhile because it simplifies integrating a local network into the Internet when a connection becomes available 29 June Namespace The namespace for is organized into a tree, or hierarchical structure, of domains and subdomains is an example of a distributed, hierarchical database the information in the database is spread out among many different machines across the Internet (it is distributed) The purpose of this database is to manage the relationship between the namespace (the collection of possible names for machines) and IP addresses 29 June June

3 Namespace A entity s name is specified by giving its position in this tree of domains and subdomains, with each subdomain name separated from the next by a period The root domain, which is the root of the entire tree of domains, is named. (dot) For example, a machine named belongs to the domain.acmecorp.com, which in turn is a subdomain of the.com domain, which in turn is a subdomain of the root domain (represented by a period). 29 June Fully Qualified Domain Names The Fully Qualified Domain Name (FQDN) of a entity is the full path from the root of the tree to that entity Because an FQDN always specifies the full path to the entity, it must always end with a period The FQDN for the machine would be This terminating period plays the same role in the naming scheme that the leading slash (/) marker plays when specifying the absolute path name of a file in the UNIX filesystem The difference is that a path name moves from general to specific as we read from left to right, and an FQDN moves from specific to general as we read from left to right Thus the marker for the root of the tree occurs at the left in a path name, and at the right in an FQDN. 29 June June

4 Top-level Domains 1. ARPAnet domain (now obsolete) 2. Commercial organizations 3. Educational organizations 4. Civilian government organizations 5. Military organizations 6. Network support centers 7. Other organizations (non-profits, lobbying groups, Political Action Committees) 8. International organizations 9. Geographic code for each country; for example: us = United States de = Germany uk = United Kingdom il = Israel 29 June Top-level Domains Below these top-level domain names, the managers of the delegate further subdivision of the namespace to organizations with networks connected to the Internet This delegation takes place through the process of domain name registration, in which an organization registers its chosen name and associated network addresses with the InterNIC and its agent, the private company Network Solutions, Inc. Once an organization registers its domain name (such as acme.com or brookdalecc.edu), it is free to further subdivide that name The owners of the acme.com domain name may then freely create sales.acme.com, development.acme.com, and so forth. 29 June June

5 Reverse Lookups Besides converting domain names into Internet Protocol (IP) addresses, the system can do the reverse convert IP addresses into names This conversion is done by associating a domain name with a network address and placing this domain name in the top level in-addr.arpa domain Suppose that a company has the Class C network address The associated in-addr.arpa domain name is in-addr.arpa. This name is created from the network address by reversing the order of the bytes in the network address and tacking in-addr.arpa at the end 29 June Reverse Lookups This reverse lookup convention has a certain logic to it The conventions for IP addresses are such that the left-most bytes of a network address pertain to more general networks; each additional byte, moving from left to right, makes the address more specific The conventions for domain names are exactly the opposite To convert a network address into a domain name, we must reverse the order of the bytes in the network address Suppose we want to find the hostname of the machine with IP address We extract the network portion of this IP address ( ) and look in the database under the domain name inaddr.arpa for the host number June June

6 Zones A branch of the namespace under the administrative control of some entity is called a zone A company that registers the domain name company.com gains administrative control of the company.com zone It also gains administrative control of other zones It gains control of the in-addr.arpa zones corresponding to its network addresses Suppose that company.com has two Class C network addresses ( and ) company.com will have control over the company.com zone, and the two reverse zones inaddr.arpa and in-addr.arpa 29 June Name Servers A name server is a process that accepts queries into the database It is also common usage to refer to the computer on which this process is running as a name server A name server process binds to the UDP port and TCP port 53 (the domain port listed in /etc/services) and listens for incoming queries The UDP port is used for most database lookup queries while the TCP port is used for zone file transfers Individual name servers play different roles in the overall operation of the database The three important classes of name servers are primary servers, secondary servers, and root servers. 29 June June

7 Primary Servers Every zone must have exactly one associated primary name server This name server is the unique location that has the official or authoritative information on its zone When an organization registers a new domain, it is required to supply the administrators at the InterNIC with the IP address of an authoritative server for its zones The primary server is distinguished by the fact that the data for its zone is stored on the server host s local disk in a set of files called zone files 29 June Secondary Servers In addition to its primary server, a zone may have one or more secondary servers A secondary server provides an alternative source for information on the zone Secondary servers allow for load distribution (so that the authoritative server need not answer every query) and provide a backup (in case the authoritative server crashes or is down for maintenance) Administrators of zones are required to supply at least one secondary server for each zone when they register their domain Secondary servers obtain their data from the authoritative server by periodically downloading a copy of the authoritative server s zone files This transfer is called a zone file transfer. Zone file transfers between name servers use TCP port 53 A primary or secondary server for a zone is called authoritative because it obtains its information directly from data files describing the zone 29 June June

8 Root Servers The root servers are the servers for the root domain They are operated by the InterNIC At present, there are thirteen root servers, named A.ROOT-SERVERS.NET, B.ROOT- SERVERS.NET, and so forth The root servers play a crucial role in binding together the database through the mechanism of recursion 29 June Caching-only Name Servers A caching-only name server is a name server process with no authoritative information of its own It relies entirely on information obtained by recursion Name servers cache the results of recursive queries for a while Over time a caching server builds up a substantial amount of information The purpose of using a caching-only server is to eliminate some of the network traffic Suppose that a host is running a caching-only name server process, and the resolver library on that machine is directed to consult that local name server process, which does not require network access If the resolver library is making a new query, the caching-only server will need to use recursion to find the answer; but subsequent requests for that information can be satisfied using the cached information Caching eliminates a substantial amount of network traffic, while reducing the access time of the query at the same time. 29 June June

9 Caching-only Name Servers The usefulness of caching servers is particularly striking on machines running Web browsers A typical Web page contains multiple links to the same machine, so that a user moving through a Web page generates multiple queries asking about the same target If the local name server satisfies these requests (after the first one) without using the network, the user will have much better performance 29 June Zone Files and Resource Records Record Type State of Authority Address Pointer Host Information Canonical Name Mail Exchange Name Server Abbr SOA A PTR HINFO CNAME MX NS Purpose Sets basic parameters for a zone, and establishes responsible parties Specifies a name-to-address mapping Specifies an address-to-name mapping Describes the architecture and OS of a host in the database Defines an alias, or alternative name, for a host Defines a mail exchange host Declares a name server for a zone 29 June June

10 Zone File Special Features 1. The key to be looked up 2. Internet 3. Type of Resource Record 4. Result of the lookup 5. The key is blank, so the previous key is used 6. All the key values in the left column are relative to corporation.com 29 June 2005 Signs There is one additional special feature that may appear in zone signs sign represents a value to be inserted by the server from its configuration files If the server is configured to use the file file.zone as the zone file for the corporation.com zone, and sign is used in the left column as a KEY value, the server replaces with corporation.com 29 June June

11 Types of Resource Records 1. The FQDN of the host where this SOA record resides The authoritative server for this zone 2. The address of the administrator for this zone, written with the sign replaced by a dot 3. A number identifying this version of the zone file This field is used by secondary servers to decide if the zone file has changed, so it should be incremented every time the file is modified 4. How often (in seconds) the secondary servers should reload this zone file to check for changes 5. How long (in seconds) the secondary servers should wait after a failed zone file transfer before retrying 6. How long (in seconds) the secondary servers should wait between successful zone file transfers before discarding the data 7. Tells other servers how long, by default, to cache results from this server 29 June State of Authority (SOA) records An SOA record sets up basic parameters for a zone of authority and marks the beginning of a zone Every zone or subzone must have exactly one SOA record and the zone continues until another SOA record is encountered The fields in an SOA record have the following meanings: KEY is the zone to which this SOA applies. VALUE has the following form: 29 June June

12 Address (A) and Pointer (PTR) records Address records specify a mapping from the host name to the IP address These records are the heart of the database Address records appear in the forward lookup zone file (for corporation.com ) PTR records appear in the reverse file (the inaddr.arpa zone file). 29 June Host Information (HINFO) Records Host information records give the operating system and architecture for the specified host Many sites do not put this information in their database because it provides extra information to hackers However, it can be quite convenient on networks with many different kinds of machines The format is: KEY IN HINFO Architecture O/S The valid names for architecture and operating system are the official names supplied by the system You can get these names by using the uname command 29 June June

13 Canonical Name (CNAME) Records Canonical name records define an alias In our previous example, the record: www IN CNAME vanderbilt.corporation.com. declares that is an alias for the machine vanderbilt.corporation.com. 29 June Name Server (NS) Records A name server (NS) record declares a machine to be a name server for a specified zone The KEY is the name of the zone, and the value is the FQDN for the name server Usually, the NS records immediately follow the SOA record, with the first NS record pointing to the authoritative name server for the zone Zone files use Fully Qualified Domain Names, so be very careful to make sure that you use periods at the end of host names when they occur as VALUE fields in A records, and in the SOA record Ninety-nine percent of the time, a problem with a zone file is due to a missing period 29 June June

14 nslookup The nslookup is a program in UNIX used to query servers When you start the program from the UNIX command line, it uses the /etc/resolv.conf file to locate a name server, and initially directs its queries at that server It has two modes, interactive and noninteractive An example of the noninteractive mode is ping In its simplest form, nslookup extracts the A and PTR records from the database Sometimes it is useful to use nslookup to read the SOA, HINFO, and other record types 29 June NETW 111 bind 29 June

15 Elements of the BIND Software Now that we've looked at using nslookup, let's address the problem of setting up a name server on a UNIX computer The UNIX name server software derives from the package known as Berkeley Internet Name Daemon (BIND) BIND has three parts: The name server process itself, usually called named or in.named The configuration file for the name server process, usually called /etc/named.boot The data files for the name server 29 June Name Server Data Files The data files for the name server include: a root cache file usually called root.ca or root.cache This file is used to prime the name server with the addresses of the root servers A zone file for the loopback zone A loopback zone is a reverse zone that enables resolution of the loopback address ( ) to the name localhost This tiny file is a zone file for the network address (the loopback address) This file follows the usual conventions for zone files sign is a placeholder for information from the name server configuration file 29 June June

16 loopback IN SOA localhost. root.localhost. ( ; Serial ; Refresh ; Retry ; Expire ) ; Minimum IN NS localhost. 1 IN PTR localhost. 29 June Directive Arguments 1. The directory directive establishes an initial path for later file references, to make the file easier to read In our example, all future file references are relative to the path /var/named 2. The cache directive primes the cache 3. The arguments of the cache directive are the origin domain for the cache file, followed by the name of the file The origin for the cache file is the root domain., and the cache file name is /var/named/named.ca 29 June June

17 Directive Arguments 4. The primary directive declares the server as an authoritative server for a particular zone 5. The arguments of the primary directive are the origin of the zone and the name of the zone file In our example, our server is primary (authoritative) for corporation.com, with zone file /var/named/corp.zone, and for the reverse zone in-addr.arpa, with zone file /var/named/rev.zone 29 June Directive Arguments 6. The secondary directive declares the server as a secondary server for a particular zone 7. The arguments of the secondary directive are the origin of the zone, the IP address of the zone s primary server, and the file name where the zone file is to be stored In this example, our server is a secondary server for company.com, the primary server is located at , and the zone file is named /var/named/company.zone 29 June June

18 Components Required for a Server Configuring a server involves the use of many tools At the least, you will require a name server, such as BIND, which is nearly universal on UNIX systems For the system to function fully, you must ensure that the server package you install has three parts: 1. The name server process /usr/sbin/named on Linux 2. The configuration file (called /etc/named.boot or /etc/named.conf depending on BIND version) 3. Zone files, including: A root cache file (usually called root.ca or root.cache) A loopback zone file (usually called named.local) A forward zone file (for example, forward.company.zone) A reverse zone file (for example, reverse.company.zone) 29 June Practical Server Configuration 1. Gather information - Collect the information you need to create the zone files This task includes choosing a domain name for your network 2. Prepare zone files - As you prepare your zone files, remember that each zone must have an SOA record Remember that forward and reverse zones each need name servers, and so their zone files must have NS records 3. Kill the name server process 4. Prepare the named.boot file Once you have killed the name server process, you can then create or edit the named.boot file 29 June June

19 Practical Server Configuration 5. Run nslookup 6. Configure the Clients To configure a UNIX client, you need only to alter the /etc/resolv.conf file for each host that you want to participate in the domain. 7. Control problems Do not to get too ambitious as you first work with BIND Take each step one at a time, and work slowly Document each move Work in this way, and you will control the risks of establishing a server 29 June Gather Information for the Zone Files This task includes choosing a domain name for your network You will need the addresses and names of the name server machines for your network, and for each host on the network you will need to know: IP address Host name If you choose to include HINFO records describing the hosts on your network, for each host you will need, to know the: Operating system System architecture (for example, Sparc, Intel, PPC, and so on) If your network is divided into subnetworks, you need the names of the subnetworks and their name servers, with addresses, as well Compile the host information by creating a table 29 June June

20 Creating a Server Create Zone Files. As you prepare your zone files, remember that each zone must have an SOA record Remember that forward and reverse zones each need name servers, and so their zone files must have NS records Naming Your Zone File You can name your zone file anything you want You could name the forward zone file forward.zone, and name the reverse zone file reverse.zone, or any other name you see fit Some administrators include the name of the domain or company this file serves If you were in a company named Security Inc., you could name the forward zone file security.forward.zone. 29 June Creating a Server Cache and Loopback Files You must also provide cache and loopback files You can name these anything you like, although named.ca and named.local are usual names for each respective file You need not create or configure the root cache file You can obtain the latest root cache file from the InterNIC FTP site This file does not change frequently (the current version was last modified in 2004) 29 June June

21 Creating a Server Sample loopback IN SOA localhost. root.localhost. ( ; Serial ; Refresh ; Retry ; Expire ) ; Minimum IN NS localhost. 1 IN PTR localhost. 29 June Placing Your Zone Files Once you have prepared your zone files, you need to place them in the /var/named directory on the primary server host clients do not need to create zone files, nor do they need to have named running They only need to have the primary and secondary name servers listed in /etc/resolv.conf 29 June June

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport 1 Outline Introduction Name Space concepts Domain Name Space

More information

A DNS Tutorial

A DNS Tutorial http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/ Copyright Table of Contents What is a DNS?... 3 Why do we need a DNS?... 3 Why do computers prefer addresses based on numbers?... 3 What is a Domain Name,

More information

RHCE BOOT CAMP BIND. Wednesday, November 28, 12

RHCE BOOT CAMP BIND. Wednesday, November 28, 12 RHCE BOOT CAMP BIND CONFIG FILES BIND basically has two types of configuration files: BIND configuration file, specific to BIND and it s features Database files, or zone files, which contain DNS resource

More information

CSE 265: System & Network Administration

CSE 265: System & Network Administration CSE 265: System & Network Administration DNS The Domain Name System History of DNS What does DNS do? The DNS namespace BIND software How DNS works DNS database Testing and debugging (tools) DNS History

More information

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration. Chapter 5 Introduction to DNS in Windows Server 2008

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration. Chapter 5 Introduction to DNS in Windows Server 2008 MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008 Objectives Discuss the basics of the Domain Name System (DNS) and its

More information

Protocol Classification

Protocol Classification DNS and DHCP TCP/IP Suite Suite of protocols (not just TCP and IP) Main protocols TCP and UDP at the Transport Layer, and IP at the Network Layer Other protocols ICMP, ARP, Telnet, Ftp, HTTP, SMTP, SNMP

More information

Introduction to the Domain Name System

Introduction to the Domain Name System The Domain Name System (DNS) handles the growing number of Internet users. DNS translates names, such as www.cisco.com, into IP addresses, such as 192.168.40.0 (or the more extended IPv6 addresses), so

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) Dynamic

More information

Oversimplified DNS. ... or, even a rocket scientist can understand DNS. Step 1 - Verify WHOIS information

Oversimplified DNS. ... or, even a rocket scientist can understand DNS. Step 1 - Verify WHOIS information Oversimplified DNS... or, even a rocket scientist can understand DNS Step 1 - Verify WHOIS information GOALS: Make sure that WHOIS reports every name server you have, and doesn't report any that aren't

More information

Setting up DHCP, DNS and NFS on the CLTC Server

Setting up DHCP, DNS and NFS on the CLTC Server CLTC Documentation Sheet 2: Setting up DHCP, DNS and NFS on the CLTC Server Developed by The 'Free Range' Community Linux Training Centre Project - Version 1.0, January 2003. http://www.fraw.org.uk/cltc/

More information

Chapter 19. Domain Name System (DNS)

Chapter 19. Domain Name System (DNS) Chapter 19 Domain Name System (DNS) TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. OBJECTIVES: To describe the purpose of DNS. To define

More information

How to Add Domains and DNS Records

How to Add Domains and DNS Records Configure the Barracuda NextGen X-Series Firewall to be the authoritative DNS server for your domains or subdomains to take advantage of Split DNS or dead link detection. Step 1. Make the X-Series Firewall

More information

Agha Mohammad Haidari General ICT Manager in Ministry of Communication & IT Cell#

Agha Mohammad Haidari General ICT Manager in Ministry of Communication & IT Cell# Install a DNS server in Windows Server 2008 IT administrators who have little or no experience with Domain Name System (DNS), can learn to install, configure and troubleshoot a Windows Server 2008 DNS

More information

APNIC elearning: DNS Concepts

APNIC elearning: DNS Concepts APNIC elearning: DNS Concepts 27 MAY 2015 11:00 AM AEST Brisbane (UTC+10) Issue Date: Revision: Introduction Presenter Sheryl Hermoso Training Officer sheryl@apnic.net Specialties: Network Security IPv6

More information

DNS Configuration Guide. Open Telekom Cloud

DNS Configuration Guide. Open Telekom Cloud DNS Configuration Guide Open Telekom Cloud www.telekom.de/opentelekomcloud For this guide we assume that two subnets are already configured. In our example the subnets are called subnet_dns01 (in AZ eu-de-01)

More information

Overview. Last Lecture. This Lecture. Next Lecture. Scheduled tasks and log management. DNS and BIND Reference: DNS and BIND, 4 th Edition, O Reilly

Overview. Last Lecture. This Lecture. Next Lecture. Scheduled tasks and log management. DNS and BIND Reference: DNS and BIND, 4 th Edition, O Reilly Last Lecture Overview Scheduled tasks and log management This Lecture DNS and BIND Reference: DNS and BIND, 4 th Edition, O Reilly Next Lecture Address assignment (DHCP) TELE 301 Lecture 11: DNS 1 TELE

More information

Managing Zones. Staged and Synchronous Modes CHAPTER. See Also

Managing Zones. Staged and Synchronous Modes CHAPTER. See Also CHAPTER 15 Managing Zones The Domain Name System (DNS) is a distributed database for objects in a computer network. By using a nameserver approach, the network consists of a hierarchy of autonomous domains

More information

Objectives. Upon completion you will be able to:

Objectives. Upon completion you will be able to: Domain Name System: DNS Objectives Upon completion you will be able to: Understand how the DNS is organized Know the domains in the DNS Know how a name or address is resolved Be familiar with the query

More information

Goal of this session

Goal of this session DNS refresher Overview Goal of this session What is DNS? How is DNS built and how does it work? How does a query work? Record types Caching and Authoritative Delegation: domains vs zones Finding the error:

More information

Services: DNS domain name system

Services: DNS domain name system Services: DNS domain name system David Morgan Buying numbers and names numbers are IP addresses you buy them from an ISP the ISP makes sure those addresses go to your place the names are domain names you

More information

Domain Name System (DNS) DNS Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale. The old solution: HOSTS.

Domain Name System (DNS) DNS Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale. The old solution: HOSTS. Domain Name System (DNS) Computers use IP addresses. Why do we need names? Names are easier for people to remember DNS Fundamentals Computers may be moved between networks, in which case their IP address

More information

Lecture 4: Basic Internet Operations

Lecture 4: Basic Internet Operations Lecture 4: Basic Internet Operations Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4395 4-1 LAN View A LAN 2 B Hub 2 Gateway to Internet Hub 1 Z (Gateway) LAN 1

More information

IP Addresses. An IPv4 address looks like this

IP Addresses. An IPv4 address looks like this DNS IP Addresses Domain Names Domain Name System The Domain Name Hierarchy Components of a Domain Name How DNS Works DNS Name Resolution Configuring DNS on it20 IP Addresses For a computer to talk to the

More information

DNS Session 2: DNS cache operation and DNS debugging. Joe Abley AfNOG 2006 workshop

DNS Session 2: DNS cache operation and DNS debugging. Joe Abley AfNOG 2006 workshop DNS Session 2: DNS cache operation and DNS debugging Joe Abley AfNOG 2006 workshop How caching NS works (1) If we've dealt with this query before recently, answer is already in the cache easy! Resolver

More information

S Computer Networks - Spring What and why? Structure of DNS Management of Domain Names Name Service in Practice

S Computer Networks - Spring What and why? Structure of DNS Management of Domain Names Name Service in Practice Outline What and why? Structure of DNS Management of Domain Names Name Service in Practice 188lecture12.ppt Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo 1 2 Need Network addresses are numbers Addresses

More information

New Topic: Naming. Differences in naming in distributed and non-distributed systems. How to name mobile entities?

New Topic: Naming. Differences in naming in distributed and non-distributed systems. How to name mobile entities? New Topic: Naming Names are used to share resources, uniquely identify entities and refer to locations Need to map from name to the entity it refers to E.g., Browser access to www.cnn.com Use name resolution

More information

Domain Name System.

Domain Name System. Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith Vertanen Fall 2011 Overview Final project + presentation Some TCP and UDP experiments Domain Name System (DNS) Hierarchical name space Maps

More information

Lesson 9: Configuring DNS Records. MOAC : Administering Windows Server 2012

Lesson 9: Configuring DNS Records. MOAC : Administering Windows Server 2012 Lesson 9: Configuring DNS Records MOAC 70-411: Administering Windows Server 2012 Overview Exam Objective 3.2: Configure DNS Records Configuring DNS Record Types Using the DNSCMD Command to Manage Resource

More information

Network Working Group. November 1987

Network Working Group. November 1987 Network Working Group Request For Comments: 1033 M. Lottor SRI International November 1987 DOMAIN ADMINISTRATORS OPERATIONS GUIDE STATUS OF THIS MEMO This RFC provides guidelines for domain administrators

More information

Resource Records. Host Address Name-to-address mapping for the zone. Table 1: Resource Records

Resource Records. Host Address Name-to-address mapping for the zone. Table 1: Resource Records Resource s Resource records comprise the data within a DNS zone. There is no fixed limit to the number of resource records a zone can own. In general, there can be zero, one, or more resource records of

More information

How to Configure DNS Zones

How to Configure DNS Zones The Barracuda NG Firewall DNS configuration object contains two predefined zones: _template and '.' To be able to edit and specify DNS zones within the Barracuda NG Firewall DNS configuration, you must

More information

DNS Session 2: DNS cache operation and DNS debugging. How caching NS works (1) What if the answer is not in the cache? How caching NS works (2)

DNS Session 2: DNS cache operation and DNS debugging. How caching NS works (1) What if the answer is not in the cache? How caching NS works (2) D Session 2: D cache operation and D debugging How caching works (1) If we've dealt with this query before recently, answer is already in the cache - easy! Joe Abley AfNOG 2006 workshop Resolver Query

More information

How to Configure the DNS Server

How to Configure the DNS Server Make the Barracuda Link Balancer an Authoritative DNS host and configure the DNS Server for inbound load balancing. Step 1. Enable Authoritative DNS Enable Authoritative DNS on the Barracuda Link Balancer

More information

Domain Name System (DNS) Session-1: Fundamentals. Joe Abley AfNOG Workshop, AIS 2017, Nairobi

Domain Name System (DNS) Session-1: Fundamentals. Joe Abley AfNOG Workshop, AIS 2017, Nairobi Domain Name System (DNS) Session-1: Fundamentals Joe Abley AfNOG Workshop, AIS 2017, Nairobi Computers use IP addresses. Why do we need names? Names are easier for people to remember Computers may be moved

More information

Managing Caching DNS Server

Managing Caching DNS Server This chapter explains how to set the Caching DNS server parameters. Before you proceed with the tasks in this chapter, see Introduction to the Domain Name System which explains the basics of DNS. Configuring

More information

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M.

DNS Concepts. Acknowledgements July 2005, Thimphu, Bhutan. In conjunction with SANOG VI. Bill Manning Ed Lewis Joe Abley Olaf M. 16-20 July 2005, Thimphu, Bhutan In conjunction with SANOG VI DNS Concepts Acknowledgements Bill Manning Ed Lewis Joe Abley Olaf M. Kolkman NeuStar 1 Purpose of naming Addresses are used to locate objects

More information

Computing Parable. New Topic: Naming

Computing Parable. New Topic: Naming Computing Parable The Cow Courtesy: S. Keshav Lecture 10, page 1 New Topic: Naming Names are used to share resources, uniquely identify entities and refer to locations Need to map from name to the entity

More information

Today: Naming. Example: File Names

Today: Naming. Example: File Names Today: Naming Names are used to share resources, uniquely identify entities and refer to locations Need to map from name to the entity it refers to E.g., Browser access to www.cnn.com Use name resolution

More information

DNS. A Massively Distributed Database. Justin Scott December 12, 2018

DNS. A Massively Distributed Database. Justin Scott December 12, 2018 DNS A Massively Distributed Database Justin Scott December 12, 2018 What is DNS? Translates Hostnames to IP Addresses What is DNS? Example: www.serverlogic.com 23.185.0.4 What is DNS? Example: www.serverlogic.com

More information

DNS Management with Blue Cat Networks at PSU

DNS Management with Blue Cat Networks at PSU DNS Management with Blue Cat Networks at PSU Network and System Administrators at Penn State can make their own DNS changes, live, using the Blue Cat Proteus web-based interface. Proteus will be used by

More information

Domain Name System (DNS) Session-1: Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale

Domain Name System (DNS) Session-1: Fundamentals. Computers use IP addresses. Why do we need names? hosts.txt does not scale Domain Name System (DNS) Computers use IP addresses. Why do we need names? Names are easier for people to remember Session-1: Fundamentals Computers may be moved between networks, in which case their IP

More information

Resource Records APPENDIXA

Resource Records APPENDIXA APPENDIXA Resource Records Resource records comprise the data within a DNS zone. There is no fixed limit to the number of resource records a zone can own. In general, there can be zero, one, or more resource

More information

Domain Name System (DNS)

Domain Name System (DNS) Domain Name System (DNS) Computer Networks Lecture 9 http://goo.gl/pze5o8 Domain Name System Naming service used in the Internet Accomplishes mapping of logical ("domain") names to IP addresses (and other

More information

DNS/DNSSEC Workshop. In Collaboration with APNIC and HKIRC Hong Kong. Champika Wijayatunga Regional Security Engagement Manager Asia Pacific

DNS/DNSSEC Workshop. In Collaboration with APNIC and HKIRC Hong Kong. Champika Wijayatunga Regional Security Engagement Manager Asia Pacific DNS/DNSSEC Workshop In Collaboration with APNIC and HKIRC Hong Kong Champika Wijayatunga Regional Security Engagement Manager Asia Pacific 22-24 January 2018 1 Agenda 1 2 3 Introduction to DNS DNS Features

More information

DNS Basics BUPT/QMUL

DNS Basics BUPT/QMUL DNS Basics BUPT/QMUL 2018-04-16 Related Information Basic function of DNS Host entry structure in Unix Two system calls for DNS database retrieving gethostbyname () gethostbyaddr () 2 Agenda Brief introduction

More information

CIA Lab Assignment: Domain Name System (1)

CIA Lab Assignment: Domain Name System (1) CIA Lab Assignment: Domain Name System (1) A. Bakker N. Sijm J. van der Ham M. Pouw Feedback deadline: September 22, 2015 10:00 CET Abstract The Domain Name System (DNS) is a hierarchical, distributed

More information

OPS535 Lab 5. Dynamic DNS. RFC 2136 Dynamic Updates in the Domain Name System (DNS UPDATE)

OPS535 Lab 5. Dynamic DNS. RFC 2136 Dynamic Updates in the Domain Name System (DNS UPDATE) OPS535 Lab 5 Dynamic DNS Overview In this lab, you add a forward lookup zone and a reverse lookup zone to your primary DNS server and configure both zones to support dynamic updates. Dynamic DNS zone accepts

More information

DNS. DNS is an example of a large scale client-server application.

DNS. DNS is an example of a large scale client-server application. DNS Domain Name System: DNS Objective: map names to IP addresses (i.e., high level names to low level names) Original namespace was flat, didn t scale.. Hierarchical naming permits decentralization by

More information

Configuration of Authoritative Nameservice

Configuration of Authoritative Nameservice Configuration of Authoritative Nameservice AfCHIX 2011 Blantyre, Malawi (based on slides from Brian Candler for NSRC) Recap DNS is a distributed database Resolver asks Cache for information Cache traverses

More information

phoenixnap Client Portal

phoenixnap Client Portal phoenixnap Client Portal 1 phoenixnap Client Portal Disclaimer Please be aware that DNS management can be a confusing and complicated system. If you get something wrong, you might experience problems such

More information

Web Portal User Manual for

Web Portal User Manual for Web Portal User Manual for Copyright 2009 Afilias Limited Contents 1. Introduction... 1 1.1 About Afilias Managed DNS Service... 1 1.2 Afilias Managed DNS Service Website Help... 1 1.3 Support... 2 2.

More information

Resource Records APPENDIX

Resource Records APPENDIX APPENDIX A Resource records comprise the data within a DNS zone. There is no fixed limit to the number of resource records a zone can own. In general, there can be zero, one, or more resource records of

More information

DNS. David Malone. 19th October 2004

DNS. David Malone. 19th October 2004 DNS David Malone 19th October 2004 1 Names vs. Addresses Computers like addresses eg. 134.226.81.11. People prefer names salmon.maths.tcd.ie. Need a way to translate. walton.maths.tcd.ie close to salmon.maths.tcd.ie.

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 463/612 Networks and Distributed Processing Spring 2018 CSCE 463/612 Networks and Distributed Processing Spring 2018 Application Layer III Dmitri Loguinov Texas A&M University February 8, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter

More information

Introduction to Network. Topics

Introduction to Network. Topics Introduction to Network Security Chapter 7 Transport Layer Protocols 1 TCP Layer Topics Responsible for reliable end-to-end transfer of application data. TCP vulnerabilities UDP UDP vulnerabilities DNS

More information

Domain Name System - Advanced Computer Networks

Domain Name System - Advanced Computer Networks - Advanced Computer Networks Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 26 August, 2011 Contents 1 Distributed database, highly volatile Domain names Top level domains

More information

New Topic: Naming. Approaches

New Topic: Naming. Approaches New Topic: Naming Names are used to share resources, uniquely identify entities and refer to locations Need to map from name to the entity it refers to E.g., Browser access to www.cnn.com Use name resolution

More information

DNS. Introduction To. everything you never wanted to know about IP directory services

DNS. Introduction To. everything you never wanted to know about IP directory services Introduction To DNS everything you never wanted to know about IP directory services Linux Users Victoria, April 3 rd 2007 what is the domain name system anyway? it's like a phone book...kinda DNS is (1)

More information

CSc 450/550 Computer Networks Domain Name System

CSc 450/550 Computer Networks Domain Name System CSc 450/550 Computer Networks Domain Name System Jianping Pan Summer 2007 5/28/07 CSc 450/550 1 Review: Web/HTTP Web URI/URL, HTML tags, embedded objects HTTP request and response persistence, statefulness

More information

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

Domain Name Service. DNS Overview. October 2009 Computer Networking 1 Domain Name Service DNS Overview October 2009 Computer Networking 1 Why DNS? Addresses are used to locate objects (contain routing information) Names are easier to remember and use than numbers DNS provides

More information

DNS and HTTP. A High-Level Overview of how the Internet works

DNS and HTTP. A High-Level Overview of how the Internet works DNS and HTTP A High-Level Overview of how the Internet works Adam Portier Fall 2017 How do I Google? Smaller problems you need to solve 1. Where is Google? 2. How do I access the Google webpage? 3. How

More information

CS519: Computer Networks. Lecture 6: Apr 5, 2004 Naming and DNS

CS519: Computer Networks. Lecture 6: Apr 5, 2004 Naming and DNS : Computer Networks Lecture 6: Apr 5, 2004 Naming and DNS Any problem in computer science can be solved with another layer of indirection David Wheeler Naming is a layer of indirection What problems does

More information

This video will look at how to create some of the more common DNS records on Windows Server using Remote Administration Tools for Windows 8.

This video will look at how to create some of the more common DNS records on Windows Server using Remote Administration Tools for Windows 8. This video will look at how to create some of the more common DNS records on Windows Server using Remote Administration Tools for Windows 8. Demonstration The Windows 8 computer has Remote Server Administration

More information

Application Session (Hands-on) Athanassios Liakopoulos (GRNET) version 1.01

Application Session (Hands-on) Athanassios Liakopoulos (GRNET) version 1.01 Application Session (Hands-on) Athanassios Liakopoulos (GRNET) aliako@grnet.gr version 1.01 1. Lab information Network Topology The network topology is shown in Figure 1. PCs belong to different VLANs,

More information

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management Protocols of the application layer are common communication

More information

Advanced Networking. Domain Name System

Advanced Networking. Domain Name System Advanced Networking Domain Name System Purpose of DNS servers Human being has many identifications: 1) Our name can be used for identification Problem: Two differenet people may have same name. 2) Mobile

More information

Advanced Networking. Domain Name System. Purpose of DNS servers. Purpose of DNS servers. Purpose of DNS servers

Advanced Networking. Domain Name System. Purpose of DNS servers. Purpose of DNS servers. Purpose of DNS servers Purpose of DNS servers Advanced Networking Domain Name System Human being has many identifications: 1) Our name can be used for identification Problem: Two differenet people may have same name. 2) Mobile

More information

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions [C HD] Applying Concepts: Configure Address Translation Using NAT At the end of this chapter, you ll create your own NAT translation table

More information

Naming. Naming entities

Naming. Naming entities Naming Naming entities Locating mobile entities Removing unreferenced entities 1 Name: Just a string Naming entities used to denote entity in a system Identifier: Uniquely refers to an entity Each entity

More information

DNS & Iodine. Christian Grothoff.

DNS & Iodine. Christian Grothoff. DNS & Iodine christian@grothoff.org http://grothoff.org/christian/ The Domain Name System is the Achilles heel of the Web. Tim Berners-Lee 1 DNS: Domain Name System Unique Distributed Database Application-layer

More information

ECE 435 Network Engineering Lecture 7

ECE 435 Network Engineering Lecture 7 ECE 435 Network Engineering Lecture 7 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 25 September 2018 HW#3 was Posted Announcements 1 HW#2 Review C code will be discussed next

More information

9.1 Introduction 9.2 Name services and the DNS 9.3 Discovery services 9.6 Summary

9.1 Introduction 9.2 Name services and the DNS 9.3 Discovery services 9.6 Summary Teaching material based on Distributed Systems: Concepts and Design, Edition 3, Addison-Wesley 2001. Distributed Systems Course Name Services Copyright George Coulouris, Jean Dollimore, Tim Kindberg 2001

More information

DNS. dr. C. P. J. Koymans. September 16, Informatics Institute University of Amsterdam. dr. C. P. J. Koymans (UvA) DNS September 16, / 46

DNS. dr. C. P. J. Koymans. September 16, Informatics Institute University of Amsterdam. dr. C. P. J. Koymans (UvA) DNS September 16, / 46 DNS dr. C. P. J. Koymans Informatics Institute University of Amsterdam September 16, 2008 dr. C. P. J. Koymans (UvA) DNS September 16, 2008 1 / 46 DNS and BIND DNS (Domain Name System) concepts theory

More information

Welcome! Acknowledgements. Introduction to DNS. cctld DNS Workshop October 2004, Bangkok, Thailand

Welcome! Acknowledgements. Introduction to DNS. cctld DNS Workshop October 2004, Bangkok, Thailand Welcome! cctld DNS Workshop 8-11 October 2004, Bangkok, Thailand Champika Wijayatunga, APNIC Acknowledgements Bill Manning Ed Lewis Joe Abley Olaf M. Kolkman EP.NET Introduction to

More information

WEB TECHNOLOGIES CHAPTER 1

WEB TECHNOLOGIES CHAPTER 1 WEB TECHNOLOGIES CHAPTER 1 WEB ESSENTIALS: CLIENTS, SERVERS, AND COMMUNICATION Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson THE INTERNET Technical origin: ARPANET (late 1960

More information

Application Protocols in the TCP/IP Reference Model

Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management WWW Virtual Terminal Name Service File Transfer HTTP FTP Telnet SMTP DNS SNMP TFTP Internet protocols TCP UDP

More information

Computer Network laboratory (2015) Pattern TE Computer 1 (5)

Computer Network laboratory (2015) Pattern TE Computer 1 (5) Computer Network laboratory (2015) Pattern 1 R N Oral Total Dated Sign (2) (5) (3) (2) Assignment Group- A_11 Problem Definition Write a program for DNS lookup. Given an IP address input, it should return

More information

DNS / DNSSEC Workshop. bdnog November 2017, Dhaka, Bangladesh

DNS / DNSSEC Workshop. bdnog November 2017, Dhaka, Bangladesh DNS / DNSSEC Workshop bdnog7 19-22 November 2017, Dhaka, Bangladesh Issue Date: 03 November 2015 Revision: 2.0-draft4 Overview DNS Overview BIND DNS Configuration Recursive and Forward DNS Reverse DNS

More information

[Prof. Rupesh G Vaishnav] Page 1

[Prof. Rupesh G Vaishnav] Page 1 Q-1 Explain DNS (Domain Name System) in detail with example. OR Explain : DNS and its advantages DNS is an internet service that translates domain names into IP addresses. Because domain names are alphabetic,

More information

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses

EECS 122: Introduction to Computer Networks DNS and WWW. Internet Names & Addresses EECS 122: Introduction to Computer Networks DNS and WWW Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776 Internet

More information

Domain Name Service. FAQs. Issue 07 Date HUAWEI TECHNOLOGIES CO., LTD.

Domain Name Service. FAQs. Issue 07 Date HUAWEI TECHNOLOGIES CO., LTD. Issue 07 Date 2019-03-05 HUAWEI TECHNOLOGIES CO., LTD. Copyright Huawei Technologies Co., Ltd. 2019. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any

More information

The Domain Name System

The Domain Name System The Domain Name System History of DNS Before DNS ARPAnet HOSTS.txt contains all the hosts information Maintained by SRI s Network Information Center In SRI-NIC host Problems: Not scalable! Traffic and

More information

FTP. Client Server Model. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Server Models

FTP. Client Server Model. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Server Models Client Server Model Client: Any program can be a client temporarily of a specific remote service. Generally it is invoked, controlled by user. It runs only one session. CS 4/55231 Internet Engineering

More information

The Domain Name System

The Domain Name System The Domain Name System History of DNS Before DNS ARPAnet HOSTS.txt contains all the hosts information Maintained by SRI s Network Information Center In SRI-NIC host Problems: Not scalable! Traffic and

More information

Chapter 14. Configuring Linux Network Services Part 1 DHCP and DNS service

Chapter 14. Configuring Linux Network Services Part 1 DHCP and DNS service Chapter 14 Configuring Linux Network Services Part 1 DHCP and DNS service 1 Content Configuring a DHCP server on Linux Configuring a DNS server on Linux Configuring the Apache Web server on Linux Configuring

More information

Page 1 of 7 SUMMARY MORE INFORMATION. Windows 2000 DNS Event Messages 1616 Through Microsoft resource record (RR) problems.

Page 1 of 7 SUMMARY MORE INFORMATION. Windows 2000 DNS Event Messages 1616 Through Microsoft resource record (RR) problems. Page 1 of 7 Knowledge Base Windows 2000 DNS Event Messages 1616 Through 6702 PSS ID Number: 287513 Article Last Modified on 10/11/2002 The information in this article applies to: Microsoft Windows 2000

More information

Root Servers. Root hints file come in many names (db.cache, named.root, named.cache, named.ca) See root-servers.org for more detail

Root Servers. Root hints file come in many names (db.cache, named.root, named.cache, named.ca) See root-servers.org for more detail What is DNS? Systems to convert domain names into ip addresses: For an instance; www.tashicell.com 118.103.136.66 Reverse: 118.103.136.66 www.tashicell.com DNS Hierarchy Root Servers The top of the DNS

More information

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall

Communications Software. CSE 123b. CSE 123b. Spring Lecture 11: Domain Name System (DNS) Stefan Savage. Some pictures courtesy David Wetherall CSE 123b CSE 123b Communications Software Spring 2003 Lecture 11: Domain Name System (DNS) Stefan Savage Some pictures courtesy David Wetherall & Srini Seshan Where we ve been & where we re going Low-level

More information

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames

CSE 123b Communications Software. Overview for today. Names and Addresses. Goals for a naming system. Internet Hostnames CSE 123b Communications Software Spring 2003 Lecture 11: Domain Name System (DNS) Stefan Savage Where we ve been & where we re going Low-level networking (so far) Internetworking architecture Packet Forwarding

More information

Chapter 4. Internet Applications

Chapter 4. Internet Applications Chapter 4 Internet Application Protocols 1 Internet Applications! Domain Name System! Electronic mail! Remote login! File transfer! World Wide Web! All use client-server model 2 Names! Internet communication

More information

Computer Network 1 1

Computer Network 1 1 Computer Network 1 1 Chapter 10: Application Layer Advanced Principal Concepts Samples and Techniques Foundation Summary Question and Answer 2 Outline Application Layer There is a need for support protocols,

More information

Guide to TCP/IP, Third Edition. Chapter 12: TCP/IP, NetBIOS, and WINS

Guide to TCP/IP, Third Edition. Chapter 12: TCP/IP, NetBIOS, and WINS Guide to TCP/IP, Third Edition Chapter 12: TCP/IP, NetBIOS, and WINS Objectives Discuss the history of NetBIOS Understand what NetBIOS is and its limitations Understand the role of NetBIOS in Windows 2000

More information

Application Layer Protocols

Application Layer Protocols Application Layer Protocols Dr. Ihsan Ullah Department of Computer Science & IT University of Balochistan, Quetta Pakistan Email: ihsan.ullah.cs@gmail.com These slides are adapted from the slides accompanying

More information

Domain Name Service. in-addr sfu

Domain Name Service. in-addr sfu Domain Name Service It s nice to be able to refer to machines by names, instead of numbers. Humans do better with fraser.sfu.ca than with 142.58.101.25. When the Internet was small & cute and still the

More information

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions

Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions Network+ Guide to Networks, Seventh Edition Chapter 2, Solutions Review Questions 1. Which part of a MAC address is unique to each manufacturer? A. The network identifier B. The OUI C. The device identifier

More information

ICS 351: Today's plan. DNS WiFi

ICS 351: Today's plan. DNS WiFi ICS 351: Today's plan DNS WiFi Domain Name System Hierarchical system of names top-level domain names include.edu,.org,.com,.net, and many country top-level domains root is just "." so the fully qualified

More information

Configuring DNS on SLES 9

Configuring DNS on SLES 9 CHAPTER 3 Configuring DNS on SLES 9 This chapter covers the following requirements for Novell s Certified Linux Engineer (CLE) 9 certification: 1. Configure a DNS server using BIND. On a modern IP-based

More information

DOMAIN NAME SYSTEM (DNS) BEYAZIT BESTAMİ YÜKSEL

DOMAIN NAME SYSTEM (DNS) BEYAZIT BESTAMİ YÜKSEL DOMAIN NAME SYSTEM (DNS) BEYAZIT BESTAMİ YÜKSEL - 15501014 DNS and DNS Server History of DNS DNS Architecture Name Resolution DNS Query Types OVERVIEW The DNS is The Domain Name System What Internet users

More information

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 3 Configure Network Services

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 3 Configure Network Services Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 3 Configure Network Services Objectives Configure a DNS Server Using BIND Deploy OpenLDAP on a SLES 9 Server Configure an Apache

More information

Naming. Chapter 4. Naming (1) Name resolution allows a process to access a named entity. A naming system is necessary.

Naming. Chapter 4. Naming (1) Name resolution allows a process to access a named entity. A naming system is necessary. Naming Chapter 4 Naming (1) Name resolution allows a process to access a named entity. A naming system is necessary. In a distributed system the naming system is distributed. Naming (2) In a distributed

More information