Computer Names. based on chapter 10 of CompTIA Network+ Exam Guide, 4th edition, by Mike Meyers OVERVIEW

Size: px
Start display at page:

Download "2015-10-30. Computer Names. based on chapter 10 of CompTIA Network+ Exam Guide, 4th edition, by Mike Meyers OVERVIEW"

Transcription

1 Computer Names based on chapter 10 of CompTIA Network+ Exam Guide, 4th edition, by Mike Meyers OVERVIEW 1

2 Computer Names and Addresses Computers are given names to make it easy for people to refer to them Computers need addresses to make them accessible over a network Networking software needs a way to match up names and addresses Computer Addresses and Names Identifying nodes and routing messages on the Internet depends on IP addresses - Not easy for humans to remember or use but people use Domain Names to identify computers - Networks have domain names corresponding to their network IDs Name resolution matches domain names with IP addresses Nodes in a network have host names corresponding to their host IDs - The host name is the leftmost piece of the domain name» montcs.bloomu.edu or ftp.funet.fi montcs.bloomu.edu ftp.funet.fi bitsy.mit.edu The subnet mask isolates the host portion of the IP address 2

3 Host names A computer in a network needs an individual address - host portion of IP address, or host address Networks assign their own host addresses - viz., BloomU assigns to a host computer - Networks also assign hostnames and subdomain names» viz., montcs, rmontant-01.buad Finding the host name: Linux: - use command hostname - also: hostname -d for the domain name Windows: - Start Control Panel System - command prompt: hostname - also: set find /i name for the computer, set find /i domain for the domain name jump to DNS 3

4 Some Relevant RFCs RFC 1034, 1035 Domain Names - Specification of the Domain Name System (DNS) - supersedes RFC 882, 883 RFC 2100 The Naming of Hosts - Description of host-naming schemas The naming of hosts is a difficult matter, it isn t just one of your holiday games; you may think at first I m as mad as a hatter When I tell you, a host must have THREE DIFFERENT NAMES. activity: look up and read RFC 2100 Name Spaces a Historical Perspective Flat name space a list of distinct names - if a name is repeated, confusion arises - MS-DOS v1.0, other file systems used a flat name space - Windows Networks used a flat name space» names could be used in more than one network, so networks couldn't readily interconnect Hierarchical name space names organized into categories - Frequently shown as a tree structure - Internet Domain names Flattened name space the Linux /etc/hosts file shows a flat list of locally-known names 4

5 an example of the /etc/hosts file DNS the Domain Name System 1982: RFC 805, others describe a domainname addition to addresses 1983: RFC 882, 883 describe Domain Name Servers - superseded by RFC 1034, 1035 Top-Level Domains - Highest level of hierarchical name space the Internet uses standardized TLDS - Private networks can define any TLDs they want 5

6 The DNS Hierarchy Root servers collectively named "." - Top-Level Domain servers "edu", etc»second-level servers server(s) for bloomu.edu -local and private nameservers server(s) for buad.bloomu.edu Exercise - dig the nameservers dig NS. - How many root servers? - What are their IP addresses? - Which root servers have IPv6 addresses? Where are they located? dig NS edu. dig NS bloomu.edu. dig NS buad.bloomu.edu. dig NS students.bloomu.edu. 6

7 Root Name Servers Thirteen root name servers, named "A" through "M" Operated by the RIRs Complete information, but only serve addresses of TLD-servers aut-num: AS20144 as-name: L-ROOT descr: DNS Root Name Server L.ROOT-SERVERS.NET import: from AS-ANY accept ANY export: to AS-ANY announce AS20144 remarks: ################################# remarks: # ICANN - DNS Operations - www: remarks: # L-Root, One of the 13 Internet root name server, is being operated by ICANN remarks: # AS20144 is dedicated for the use of L-Root and distributed using Anycast. remarks: # 24/7/365 NOC via network(at)dns.icann.org via phone remarks: # Prefixes Announced: /24 & 2001:500:3::/48 remarks: # Visit for our peering information remarks: ################################# admin-c: DUMY-RIPE tech-c: DUMY-RIPE mnt-by: ICANN-DNS mnt-routes: ICANN-DNS changed: mehmet(at)icann.org notify: dnsops(at)icann.org source: RIPE remarks: **************************** remarks: * THIS OBJECT IS NOT VALID remarks: * Please note that all personal data has been removed from this object. remarks: * To view the original object, please query the RIPE Database at: remarks: * remarks: **************************** RIRs and Root Name Servers a Verisign, Dulles, VA c Cogent, Herndon, VA (also LA) d U Maryland College Park, MD g US DoD Vienna, VA h ARL Aberdeen, MD j Verisign, (21 locations) k RIPE London (also 16 other locations) i Autonomica, Stockholm (plus 28 other locations) e NASA Mt View, CA f Internet Software C. Palo Alto, CA (and 36 other locations) m WIDE Tokyo (also Seoul, Paris, SF) b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA 13 root name servers worldwide 2: Application Layer 15 7

8 Detailed Root Server map see Standard Top-Level Domains Top-Level Domains are the last part of the domain name January 1986 Subject-specific TLDs chosen:.com.edu.org.net.mil.gov.int companies (and others) educational institutions organizations networks military government agencies international orgs. (rare).bitnet nodes on the Bitnet network Two-letter Country-Code domains include:.ca Canada.jp Japan.cn China.tv Tuvalu.eu European Union.us United States.uk United Kingdom December 2002 additional domains added:.name for individuals.biz businesses.info informational sites -More added occasionally 8

9 FQDNs Fully Qualified Domain Names {host}.{subdomain}.{domain}.{tld}. - Rightmost dot refers to the DNS root usually omitted Subdomains are optional - may have multiple levels, as desired by domain owner Maximum length for FQDN is 254 octets - Plus the root-dot, for a total of 255 FQDNs can include upper- & lower-case letters, digits, hyphen Creating Domain names TLDs are established by ICANN Names within domains are assigned by registrars - EDUCAUSE assigns bloomu.edu Domain-name owners control names within their domain - BloomU assigns buad, montcs, rmontant-01 FQDN host name plus domain name - Fully Qualified Domain Name - rmontant-01.dyn.buad.bloomu.edu.» Note the sub-domains 19 9

10 HOW DNS WORKS Name Servers Each domain or subdomain maintains an authoritative name server - a.k.a. SOA, Start Of Authority - Maintains a zone file listing all hosts in its (sub)domain Additional name servers replicate, are updated from, the SOA s primary zone file - Use secondary zone files A name server can be the SOA for multiple domains Root name server (for a top-level domain) knows all SOAs in its network 10

11 The DNS Hierarchy Domains at each level have - one SOA - one or more nameservers Each domain, maybe except the lowest, has subdomains NS a.root-servers.net b.root-servers.net NS a.edu-servers.net b.edu-servers.net NS vovager.bloomu.edu pioneer.bloomu.edu NS AD2.buad.bloomu.edu ad1.buad.bloomu.edu. SOA a.root-servers.net edu. SOA a.edu-servers.net bloomu.edu. SOA voyager.bloomu.edu buad.bloomu.edu. SOA ad1.buad.bloomu.edu NS caprica.bloomu.edu library.bloomu.edu. SOA caprica.bloomu.edu local nameservers , , etc. Local Name Server does not strictly belong to hierarchy each ISP (residential ISP, company, university) has one. - also called default name server when host makes DNS query, query is sent to its local DNS server - acts as proxy, forwards query into hierarchy - look at /etc/resolv.conf DNS servers pass queries along until one has an answer - Servers can cache answers from other servers 23 11

12 Who is my local DNS server? Windows: - ipconfig/all Linux: - Different configurations keep information in various places Try - grep nameserver /etc/resolv.conf or - grep name-servers /var/lib/dhcp/dhclient* activity dig soa - e.g., dig. soa, dig bloomu.edu soa - who is this subdomain's SOA? /etc/resolv.conf - what nameservers does this host go to? wireshark run a DNS query (dig command), look at the query and response - who did the query go to? - who answered it? 12

13 Pure Iterative Name Lookup pc.bloomu.edu asks its local nameserver for Local nameserver gives it root server s IP Ask root server Root server offers.ch nameserver IP Ask.ch nameserver Get cern.ch nameserver IP Ask cern.ch nameserver Get IP of pc.bloomu.edu accesses dns.bloomu.edu pc.bloomu.edu a.root-servers.net dns.ch dns.cern.ch Pure Recursive Name Lookup pc.bloomu.edu asks its local nameserver for Local nameserver asks root server for Root server asks.ch server for server asks cern.ch server for cern.ch returns IP of to.ch.ch, root each return IP in order Local nameserver gives IP to pc.bloomu.edu pc.bloomu.edu accesses dns.bloomu.edu pc.bloomu.edu a.root-servers.net dns.ch dns.cern.ch 13

14 Mixed Name Lookup pc.bloomu.edu asks its local nameserver for Local nameserver asks root server for Root server returns.ch server's IP Local server asks.ch server.ch server returns cern.ch Local server asks cern.ch cern.ch returns IP of Local nameserver gives IP to pc.bloomu.edu pc.bloomu.edu accesses dns.bloomu.edu pc.bloomu.edu a.root-servers.net dns.ch dns.cern.ch RESOURCE RECORDS 14

15 Name Servers Operation Maintain lookup caches - Previously-resolved names - Cached lookups expire after a time limit - TLD servers are typically cached in local name servers» Thus root name servers not often visited Forward lookup zones - Resource Records map domain names to IP addresses - "dig" makes forward-lookup queries Reverse lookup zones - Allow reverse lookups give the host name for an IP address - "dig x" makes reverse-lookup queries DNS Zones and Zone Files A DNS Zone is a portion of the DNS namespace managed by a specific organization Contains one or more domains and subdomains Zone Files maintain information about a zone Contain directives and Resource Records (RRs)that control the operation of DNS servers for domains in the zone RR format is: (name, value, type, ttl) 15

16 DNS Resource Records from wikipedia: - In computer networking, a zone file is a text file that describes a portion of the domain name system (DNS) called a DNS zone. A zone contains information that defines mappings between domain names and IP addresses and other resources, organized in the form of resource records (RR). Maintained by the DNS server Defined in RFC 1034, RFC 1035 look at ftp://ftp.internic.net/domain/root.zone - You can use a web browser to do this Some Common RR Types Type=SOA - name is domain name - information about domain Type=NS - name is domain name - identifies authoritative name server(s) Type=MX - value is name of mailserver associated with name Type=A or AAAA - name is hostname - value is IP address» IPv4 or IPv6 Type=CNAME - name is alias name for some canonical name - is really servereast.backup2.ibm.com Type=PTR - name is pointer to a canonical name - no further lookup 16

17 SOA record structure The following example shows the basic structure of an SOA resource IN SOA <primary-name-server> <hostmaster- > ( <serial-number> <time-to-refresh> <time-to-retry> <time-to-expire> <minimum-ttl> ) Zone File example Comments follow semicolons $TTL IN SOA mailer.debiantest.net. hostmaster.debiantest.net.( ; serial 21600; refresh every 6 hours 3600; retry after one hour ; expire after a week ); minimum TTL of 1 day IN NS mailer.debiantest.net. IN MX 10 mailer.debiantest.net. mailer IN A firewall IN A switch IN A relay IN A cisco IN CNAME switch www IN CNAME mailer mrtg IN CNAME mailer 17

18 Reverse Zone File example the reverse zone file $TTL IN SOA mailer.debiantest.net. hostmaster.debiantest.net.( ; serial 21600; refresh every 6 hours 3600; retry after one hour ; expire after a week ); minimum TTL of 1 day IN NS mailer.debiantest.net. 19 IN PTR firewall.debiantest.net. 3 IN PTR switch.debiantest.net. 1 IN PTR mailer.debiantest.net. 20 IN PTR relay.debiantest.net. DNS protocol, messages DNS protocol : query and reply messages, both with same message format msg header identification: 16 bit # for query, reply to query uses same # flags: query or reply recursion desired recursion available reply is authoritative 18

19 activity start Wireshark choose a domain - Google.com - cern.ch he.net dig for information - SOA - NS - MX - A, AAAA WINDOWS NETWORKS AND NAMES 19

20 NetBIOS and NetBEUI 1983: IBM s PC-LAN networks uses NetBIOS - API (Application Programmer Interface) only - relies on other network protocols NetBIOS API provides: - Name registration, resolution service - Connection-oriented session service - Connectionless Datagram service NetBEUI NetBIOS services over IEEE frames - not used anymore NetBIOS Over TCP/IP - NBT supports NetBIOS connections on TCP/IP networks - Sometimes called NetBEUI or NetBIOS (oops) Uses well-known TCP and UDP ports: - port NetBIOS Name Service, NBNS» generally uses UDP - port NetBIOS Datagram Service» generally uses UDP - port NetBIOS Session Service» generally uses TCP» short sessions 20

21 NetBIOS, NetBEUI, and OSI matched to OSI layers: - 7 Redirector - 6 SMB» replaced by CIFS - 5 NetBIOS - 4 NetBIOS, NetBEUI - 3 NetBIOS, NetBEUI - 2 NDIS» Network Driver Interface Specification - 1 NIC Redirector - sends network requests to appropriate server SMB - file and printer sharing NetBIOS - session, datagram, and name services NetBEUI - data transport, frame formatting works with NetBIOS NDIS - MS interface to NICs SMB/CIFS Networking Servers broadcast their name, advertise services - Entire group/domain sees broadcast Windows Workgroup - Organizes computers into groups that can share - My Network Places folder on a Windows machine - Any node can join by choosing the workgroup name - Non-Windows nodes: Samba software provides CIFS support Windows Domain - Based on a domain controller node, running Windows Server - Nodes must authenticate to the domain controller to join - All domain controllers are also DNS servers Active Directory - Distributed organization of domain controllers 21

22 NetBIOS Names NetBIOS names are flat no extension or suffix - Maximum length of 16 octets» MS: 15 characters for name, 16 th octet gives node type - Disallowed characters are \ / : *? " ; and SPACE - Distinct from computer s name, but usually set equal - Case-insensitive: abcd, abcd, and ABCD are all the same name Windows Names 22

23 NetBIOS Names At startup, Windows host broadcasts its name - This registers the name on the local network SMB and CIFS share files/folders and printers, based on NetBIOS names - Server Message Block original Microsoft protocol - Common Internet File System current, crossplatform version Wireshark Windows Name Broadcast 23

24 Windows Networking in the VM-LAN Start your Linux client - Start Wireshark - Set the display filter as: (udp.port>=137 && udp.port<=139) Start your Windows client - You should see NBNS and BROWSER frames in wireshark Active Directory and Integrated Zones Standard DNS keeps a primary zone file on a domain s primary DNS server - Secondary DNS servers mirror it with secondary zone files - Only the primary zone records can be updated Active Directory-integrated zone allows all domain controllers to update DNS records - DHCP servers, new IP nodes can submit updates to one of the DNS servers 24

25 LMHOSTS, WINS Servers and Proxies LMHOSTS file on a client node - Text file, keeps listings of other NetBIOS nodes - Similar to DNS hosts file WINS servers - Windows Internet Name Service - Maintain records of NetBIOS names - Clients register directly with WINS server instead of broadcasting - Can accept routed registrations WINS proxy agents - Forward broadcast NetBIOS names to a WINS server - Needed to support nodes that don t know about WINS servers WINS and TCP/IP Windows 7 Advanced TCP/IP settings dialog Use and configuration of WINS server and LMHOSTS file are managed here 25

26 LOOKING AT DNS Cached Lookups Most DNS servers are configured as caching servers - They store DNS answers, based on a Time-To-Live value Windows hosts cache DNS answers locally: - ipconfig /displaydns shows all cached FQDNs - There may be surprisingly many entries Linux hosts don t cache DNS answers by default - nscd name-service caching daemon can be installed if desired (but it s uncommon) 26

27 Some useful Windows tools nbtstat c - cached NetBIOS names/addresses net view - Show accessible hosts Dynamic DNS RFC Protocol for dynamically updating DNS server records DHCP servers register their clients' records with the DNS server(s) - Add 'A' records to identify names - Add reverse pointer to identify host addresses MS Windows: - part of Active Directory - DHCP server registers 'A' records - Individual DHCP clients register the reverse pointers 27

28 DNS Security Extensions RFCs 4033, 4034, March 2005 Extensions to DNS that provide authentication for clients ("resolvers") - DNS records are digitally signed via public-key cryptography - Backwards compatible with plain DNS - Does not provide confidentiality Protects against attacks such as DNS poisoning, spoofing DNS servers, etc. Troubleshooting DNS Ping can tell if IP address works when domain name doesn t - If so, it s a DNS problem. - If not, it s a connectivity problem. - ping or ping are easy to remember Check for correct DNS server settings» Windows: ipconfig/all Ubuntu: grep name-servers /var/lib/dhcp/dhclient* - Check for connectivity to the DNS server Investigate what the DNS server is sends back - nslookup, dig 28

29 DNS Query, Response Linux dig command performs DNS lookups - Replaces the older lookup program Query asked for Response shows canonical name, IP address, authoritative nameservers; local server s IP address (DONE) 29

Domain Name System (or Service) (DNS) Computer Networks Term B10

Domain Name System (or Service) (DNS) Computer Networks Term B10 Domain Name System (or Service) (DNS) Computer Networks Term B10 DNS Outline DNS Hierarchial Structure Root Name Servers Top-Level Domain Servers Authoritative Name Servers Local Name Server Caching and

More information

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng. CS 355 Computer Networking Wei Lu, Ph.D., P.Eng. Chapter 2: Application Layer Overview: Principles of network applications? Introduction to Wireshark Web and HTTP FTP Electronic Mail: SMTP, POP3, IMAP

More information

CMPE 80N: Introduction to Networking and the Internet

CMPE 80N: Introduction to Networking and the Internet CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 11 CMPE 80N Spring'10 1 Announcements Guest lecture on intellectual property and

More information

DNS: Domain Name System

DNS: Domain Name System DNS: Domain Name System People: many identifiers: SSN, name, passport # Internet hosts, routers: IP address (32 bit) - used for addressing datagrams name, e.g., ww.yahoo.com - used by humans Q: map between

More information

Domain Name System Richard T. B. Ma

Domain Name System Richard T. B. Ma Domain Name System Richard T. B. Ma School of Computing National University of Singapore CS 3103: Compute Networks and Protocols Names Vs. Addresses Names are easier for human to remember www.comp.nus.edu.sg

More information

Domain Name System DNS

Domain Name System DNS CE443 Computer Networks Domain Name System DNS Behnam Momeni Computer Engineering Department Sharif University of Technology Acknowledgments: Lecture slides are from Computer networks course thought by

More information

CMPE 80N: Introduction to Networking and the Internet

CMPE 80N: Introduction to Networking and the Internet CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 10 CMPE 80N Fall'10 1 Announcements Forum assignment #2 posted. Due Nov. 5 th.

More information

Names vs. Addresses. Flat vs. Hierarchical Space. Domain Name System (DNS) Computer Networks. Lecture 5: Domain Name System

Names vs. Addresses. Flat vs. Hierarchical Space. Domain Name System (DNS) Computer Networks. Lecture 5: Domain Name System Names vs. Addresses Computer Networks Lecture 5: Domain Name System Names are easier for human to remember www.umich.edu vs. 141.213.4.4 Addresses can be changed without changing names move www.umich.edu

More information

The Application Layer: DNS

The Application Layer: DNS Recap SMTP and email The Application Layer: DNS Smith College, CSC 9 Sept 9, 0 q SMTP process (with handshaking) and message format q Role of user agent access protocols q Port Numbers (can google this)

More information

Domain Name System (DNS) RFC 1034 RFC 1035 http://www.ietf.org

Domain Name System (DNS) RFC 1034 RFC 1035 http://www.ietf.org Domain Name System (DNS) RFC 1034 RFC 1035 http://www.ietf.org TCP/IP Protocol Suite Application Layer DHCP DNS SNMP HTTP SMTP POP Transport Layer UDP TCP ICMP IGMP Network Layer IP Link Layer ARP ARP

More information

Naming and the DNS. Focus. How do we name hosts etc.? Application Presentation Topics. Session Domain Name System (DNS) Email/URLs

Naming and the DNS. Focus. How do we name hosts etc.? Application Presentation Topics. Session Domain Name System (DNS) Email/URLs Naming and the DNS Focus How do we name hosts etc.? Application Presentation Topics Session Domain Name System (DNS) Email/URLs Transport Network Data Link Physical Ldns.1 Names and Addresses 43 name address

More information

How To Map Between Ip Address And Name On A Domain Name System (Dns)

How To Map Between Ip Address And Name On A Domain Name System (Dns) Computer Networks: Domain Name Service (DNS) CS 3516 D- term 2013 Instructor: Krishna Venkatasubramanian Quiz 2 DNS: domain name system people: many identifiers: SSN, name, passport # Internet hosts, routers:

More information

CS 43: Computer Networks Naming and DNS. Kevin Webb Swarthmore College September 17, 2015

CS 43: Computer Networks Naming and DNS. Kevin Webb Swarthmore College September 17, 2015 CS 43: Computer Networks Naming and DNS Kevin Webb Swarthmore College September 17, 2015 Agenda Identifiers and addressing Domain Name System History Query sequences Record types Load balancing Recall:

More information

Chapter 2 Application Layer

Chapter 2 Application Layer Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

DNS. Spring 2016 CS 438 Staff 1

DNS. Spring 2016 CS 438 Staff 1 DNS Spring 2016 CS 438 Staff 1 Host Names vs. IP addresses Host names Mnemonic name appreciated by humans Variable length, full alphabet of characters Provide little (if any) information about physical

More information

Domain Name System (DNS) Reading: Section in Chapter 9

Domain Name System (DNS) Reading: Section in Chapter 9 Domain Name System (DNS) Reading: Section in Chapter 9 RFC 1034, STD 13 Name Syntax and rules for delegating authority over names Specify implementation of a distributed system that maps names to addresses

More information

NET0183 Networks and Communications

NET0183 Networks and Communications NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/2009 1 NET0183 Networks and Communications by Dr Andy Brooks DNS is a distributed database implemented in a hierarchy of many

More information

DNS: Distributed Name System

DNS: Distributed Name System Distributed Name System Slides adapted from: Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley, July 2002. All material copyright 1996-2002

More information

DNS: Domain Name System

DNS: Domain Name System DNS: Domain Name System CMPSCI 491G: Computer Networking Lab V. Arun Slides adapted from Liebeherr & Zarki, Kurose & Ross, Kermani DNS: domain name system people: many identifiers: SSN, name, passport

More information

FTP: the file transfer protocol

FTP: the file transfer protocol File Transfer: FTP FTP: the file transfer protocol at host FTP interface FTP client local file system file transfer FTP remote file system transfer file to/from remote host client/ model client: side that

More information

DNS and P2P File Sharing

DNS and P2P File Sharing Computer Networks DNS and P2P File Sharing Based on Computer Networking, 4 th Edition by Kurose and Ross DNS: Domain Name System People: many identifiers: SSN, name, passport # Internet hosts, routers:

More information

Domain Name System (DNS)

Domain Name System (DNS) Chapter 18 CSC465 Computer Networks Spring 2004 Dr. J. Harrison These slides are based on the text TCP/IP Protocol Suite (2 nd Edition) Domain Name System (DNS) CONTENTS NAME SPACE DOMAIN NAME SPACE DISTRIBUTION

More information

Lecture 2 CS 3311. An example of a middleware service: DNS Domain Name System

Lecture 2 CS 3311. An example of a middleware service: DNS Domain Name System Lecture 2 CS 3311 An example of a middleware service: DNS Domain Name System The problem Networked computers have names and IP addresses. Applications use names; IP uses for routing purposes IP addresses.

More information

Distributed Systems. Naming

Distributed Systems. Naming Distributed Systems Naming Some slides here are adapted from DNS slide material by Kurose and Ross for their textbook: Computer Networking: A Top Down Approach Featuring the Internet Any problem in computer

More information

Goals of Today s Lecture. Separating Naming and Addressing. Host Names vs. IP addresses. Domain Name System (DNS) EE 122: Domain Name System

Goals of Today s Lecture. Separating Naming and Addressing. Host Names vs. IP addresses. Domain Name System (DNS) EE 122: Domain Name System Goals of Today s Lecture EE : Domain Name System Ion Stoica TAs: Junda Liu, DK Moon, David Zats http://inst.eecs.berkeley.edu/~ee/ (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues

More information

- Domain Name System -

- Domain Name System - 1 Name Resolution - Domain Name System - Name resolution systems provide the translation between alphanumeric names and numerical addresses, alleviating the need for users and administrators to memorize

More information

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace Motivation Domain Name System (DNS) IP addresses hard to remember Meaningful names easier to use Assign names to IP addresses Name resolution map names to IP addresses when needed Namespace set of all

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2015 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Internet application layer the email service The

More information

Domain Name System (DNS)

Domain Name System (DNS) Domain Name System (DNS) Instructor: Anirban Mahanti Office: ICT 745 Email: mahanti@cpsc.ucalgary.ca Class Location: ICT 121 Lectures: MWF 12:00 12:50 Notes derived from Computer Networking: A Top Down

More information

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. . Computer System Security and Management SMD139 Lecture 5: Domain Name System Peter A. Jonsson DNS Translation of Hostnames to IP addresses Hierarchical distributed database DNS Hierarchy The Root Name

More information

Cours du 22 novembre

Cours du 22 novembre Cours du 22 novembre Couche application DNS Application Layer 2-2 DNS: domain name system people: many identifiers: SSN, name, passport # Internet hosts, routers: IP address (32 bit) - used for addressing

More information

C 1. Last Time. CSE 486/586 Distributed Systems Domain Name System. Review: Causal Ordering. Review: Causally Ordered Multicast.

C 1. Last Time. CSE 486/586 Distributed Systems Domain Name System. Review: Causal Ordering. Review: Causally Ordered Multicast. Last Time CSE 46/6 Distributed Systems Domain Name System Two multicast algorithms for total ordering Sequencer ISIS Multicast for causal ordering Uses vector timestamps Steve Ko Computer Sciences and

More information

Internet-Praktikum I Lab 3: DNS

Internet-Praktikum I Lab 3: DNS Kommunikationsnetze Internet-Praktikum I Lab 3: DNS Mark Schmidt, Andreas Stockmayer Sommersemester 2015 kn.inf.uni-tuebingen.de Motivation for the DNS Problem IP addresses hard to remember for humans

More information

Computer Networks: Domain Name System

Computer Networks: Domain Name System Computer Networks: Domain Name System Domain Name System The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses DNS www.example.com 208.77.188.166 http://www.example.com

More information

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting Magda El Zarki Prof. of CS Univ. of CA, Irvine Email: elzarki@uci.edu http: www.ics.uci.edu/~magda Overivew of NAT NAT: Network Address Translation

More information

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015 Distributed Systems 09. Naming Paul Krzyzanowski Rutgers University Fall 2015 October 7, 2015 2014-2015 Paul Krzyzanowski 1 Naming things Naming: map names to objects Helps with using, sharing, and communicating

More information

CS 348: Computer Networks. - DNS; 22 nd Oct 2012. Instructor: Sridhar Iyer IIT Bombay

CS 348: Computer Networks. - DNS; 22 nd Oct 2012. Instructor: Sridhar Iyer IIT Bombay CS 348: Computer Networks - DNS; 22 nd Oct 2012 Instructor: Sridhar Iyer IIT Bombay Domain Name System Map between host names and IP addresses People: many identifiers: name, Passport #, Internet hosts:

More information

DNS Domain Name System

DNS Domain Name System Domain Name System DNS Domain Name System The domain name system is usually used to translate a host name into an IP address Domain names comprise a hierarchy so that names are unique, yet easy to remember.

More information

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12 DNS Computer networks - Administration 1DV202 DNS History Who needs DNS? The DNS namespace How DNS works The DNS database The BIND software Server and client configuration The history of DNS RFC 882 and

More information

Understand Names Resolution

Understand Names Resolution Understand Names Resolution Lesson Overview In this lesson, you will learn about: Domain name resolution Name resolution process steps DNS WINS Anticipatory Set 1. List the host name of 4 of your favorite

More information

The Domain Name System

The Domain Name System The Domain Name System Mark Handley) UCL Computer Science CS 3035/GZ01 Today 1. The Domain Name System (DNS) 2. A Brief Word on DNS Security A name indicates what we seek. An address indicates where it

More information

Introduction to Network Operating Systems

Introduction to Network Operating Systems As mentioned earlier, different layers of the protocol stack use different kinds of addresses. We can now see that the Transport Layer (TCP) uses port addresses to route data to the correct process, the

More information

Domain Name System (DNS) Fundamentals

Domain Name System (DNS) Fundamentals Domain Name System (DNS) Fundamentals Mike Jager Network Startup Resource Center mike.jager@synack.co.nz These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

Distributed Systems. 22. Naming. 2013 Paul Krzyzanowski. Rutgers University. Fall 2013

Distributed Systems. 22. Naming. 2013 Paul Krzyzanowski. Rutgers University. Fall 2013 Distributed Systems 22. Naming Paul Krzyzanowski Rutgers University Fall 2013 November 21, 2013 2013 Paul Krzyzanowski 1 My 15 MacBook Pro The rightmost computer on my desk Paul s aluminum laptop, but

More information

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP Magda El Zarki Prof. of CS Univ. of CA, Irvine Email: elzarki@uci.edu http: www.ics.uci.edu/~magda Network Address Translation - NAT Private

More information

3. The Domain Name Service

3. The Domain Name Service 3. The Domain Name Service n Overview and high level design n Typical operation and the role of caching n Contents of DNS Resource Records n Basic message formats n Configuring/updating Resource Records

More information

Copyright 2012 http://itfreetraining.com

Copyright 2012 http://itfreetraining.com In order to find resources on the network, computers need a system to look up the location of resources. This video looks at the DNS records that contain information about resources and services on the

More information

Chapter 23 The Domain Name System (DNS)

Chapter 23 The Domain Name System (DNS) CSC521 Communication Protocols 網 路 通 訊 協 定 Chapter 23 The Domain Name System (DNS) 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Outline 1. Introduction 2. Names For Machines 3. Flat Namespace 4. Hierarchical Names 5.

More information

Introduction to DNS CHAPTER 5. In This Chapter

Introduction to DNS CHAPTER 5. In This Chapter 297 CHAPTER 5 Introduction to DNS Domain Name System (DNS) enables you to use hierarchical, friendly names to easily locate computers and other resources on an IP network. The following sections describe

More information

ECE 4321 Computer Networks. Network Programming

ECE 4321 Computer Networks. Network Programming ECE 4321 Computer Networks Network Programming Name Space System.Net Domain Name System (DNS) To resolve computer naming Host database is split up and distributed among multiple systems on the Internet

More information

Installing and Setting up Microsoft DNS Server

Installing and Setting up Microsoft DNS Server Training Installing and Setting up Microsoft DNS Server Introduction Versions Used Windows Server 2003 Setup Used i. Server Name = martini ii. Credentials: User = Administrator, Password = password iii.

More information

DNS : Domain Name System

DNS : Domain Name System 1/30 DNS : Domain Name System Surasak Sanguanpong nguan@.ac.th http://www...ac.th/~nguan Last updated: May 24, 1999 Outline 2/30 DNS basic name space name resolution process protocol configurations Why

More information

DATA COMMUNICATOIN NETWORKING

DATA COMMUNICATOIN NETWORKING DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks Internet

More information

DNS. Computer Networks. Seminar 12

DNS. Computer Networks. Seminar 12 DNS Computer Networks Seminar 12 DNS Introduction (Domain Name System) Naming system used in Internet Translate domain names to IP addresses and back Communication works on UDP (port 53), large requests/responses

More information

Automated domain name registration: DNS background information

Automated domain name registration: DNS background information IBM eserver Automated domain name registration: DNS background information ^business on demand software ADNRbackground.ppt Page 1 of 14 Overview of z/os DNS solutions Two z/os name servers supported ƒdns

More information

Managing Name Resolution

Managing Name Resolution 3 CHAPTER THREE Managing Name Resolution Terms you ll need to understand: Windows Internet Naming Service (WINS) WINS Proxy Agent LMHOSTS Tombstoning Persistent Connections Push/pull partner Hostnames

More information

The Domain Name System

The Domain Name System DNS " This is the means by which we can convert names like news.bbc.co.uk into IP addresses like 212.59.226.30 " Purely for the benefit of human users: we can remember numbers (e.g., telephone numbers),

More information

Understanding DNS (the Domain Name System)

Understanding DNS (the Domain Name System) Understanding DNS (the Domain Name System) A white paper by Incognito Software January, 2007 2007 Incognito Software Inc. All rights reserved. Understanding DNS (the Domain Name System) Introduction...2

More information

Domain Name System 2015-04-28 17:49:44 UTC. 2015 Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Domain Name System 2015-04-28 17:49:44 UTC. 2015 Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement Domain Name System 2015-04-28 17:49:44 UTC 2015 Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement Contents Domain Name System... 4 Domain Name System... 5 How DNS Works

More information

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0 Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0 Course length: 5 Days Course No. 688 - Five days - Instructor-led Introduction This course provides students with the knowledge and skills required

More information

CS3250 Distributed Systems

CS3250 Distributed Systems CS3250 Distributed Systems Lecture 4 More on Network Addresses Domain Name System DNS Human beings (apart from network administrators and hackers) rarely use IP addresses even in their human-readable dotted

More information

Application layer Protocols application transport

Application layer Protocols application transport Application layer Protocols application transport data link physical Network Applications and Application Layer Protocols Network applications: running in end systems (hosts) distributed, communicating

More information

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley abulley@ghana.com

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley abulley@ghana.com Domain Name System (DNS) Session-1: Fundamentals Ayitey Bulley abulley@ghana.com Computers use IP addresses. Why do we need names? Names are easier for people to remember Computers may be moved between

More information

Domain Name System. Heng Sovannarith heng_sovannarith@yahoo.com

Domain Name System. Heng Sovannarith heng_sovannarith@yahoo.com Domain Name System Heng Sovannarith heng_sovannarith@yahoo.com Introduc:on to DNS Domain Name System is a distributed database system that can be serve as the founda:on for name resolu:on in a TCP/IP Network.

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

Windows 2008 Server. Domain Name System Administración SSII

Windows 2008 Server. Domain Name System Administración SSII Windows 2008 Server Domain Name System Administración SSII Contenidos Introducción Configuración DNS Transferencia de zona Herramientas DNS Introducción Domain Name System is a hierarchical distributed

More information

THE DOMAIN NAME SYSTEM DNS

THE DOMAIN NAME SYSTEM DNS Announcements THE DOMAIN NAME SYSTEM DNS Internet Protocols CSC / ECE 573 Fall, 2005 N. C. State University copyright 2005 Douglas S. Reeves 2 Today s Lecture I. Names vs. Addresses II. III. IV. The Namespace

More information

Networking Domain Name System

Networking Domain Name System System i Networking Domain Name System Version 5 Release 4 System i Networking Domain Name System Version 5 Release 4 Note Before using this information and the product it supports, read the information

More information

2.5 DNS The Internet s Directory Service

2.5 DNS The Internet s Directory Service 130 CHAPTER 2 APPLICATION LAYER e-mail is also provided by Google, Yahoo!, as well as just about every major university and corporation. With this service, the user agent is an ordinary Web browser, and

More information

Domain Name Server. Training Division National Informatics Centre New Delhi

Domain Name Server. Training Division National Informatics Centre New Delhi Domain Name Server Training Division National Informatics Centre New Delhi Domain Name Service (DNS) I. History of DNS II. DNS structure and its components III. Functioning of DNS IV. Possible Configurations

More information

DNS - Domain Name System

DNS - Domain Name System DNS - Domain Name System TCP/IP class 1 outline introduction naming scheme protocol format record types how it works reverse lookup implementation - named config files summary - futures 2 bibliography

More information

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet Review questions 1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet C Media access method D Packages 2 To which TCP/IP architecture layer

More information

Configuring DNS. Finding Feature Information

Configuring DNS. Finding Feature Information The Domain Name System (DNS) is a distributed database in which you can map hostnames to IP addresses through the DNS protocol from a DNS server. Each unique IP address can have an associated hostname.

More information

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

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Concept. 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

Agenda. Network Services. Domain Names. Domain Name. Domain Names Domain Name System Internationalized Domain Names. Domain Names & DNS

Agenda. Network Services. Domain Names. Domain Name. Domain Names Domain Name System Internationalized Domain Names. Domain Names & DNS Agenda Network Services Domain Names & DNS Domain Names Domain Name System Internationalized Domain Names Johann Oberleitner SS 2006 Domain Names Naming of Resources Problems of Internet's IP focus IP

More information

Networking Domain Name System

Networking Domain Name System System i Networking Domain Name System Version 6 Release 1 System i Networking Domain Name System Version 6 Release 1 Note Before using this information and the product it supports, read the information

More information

CSE/ISE 311: Systems Administra5on Networking 2

CSE/ISE 311: Systems Administra5on Networking 2 Networking 2 Por$ons courtesy Ellen Liu Outline IP address alloca$on NAT (Network address transla$on) Rou$ng configura$on DHCP (Dynamic host configura$on protocol) DNS (Domain name system) 16-2 IP Address

More information

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1 SEED Labs Local DNS Attack Lab 1 Local DNS Attack Lab Copyright c 2006 Wenliang Du, Syracuse University. The development of this document was partially funded by the National Science Foundation s Course,

More information

DNS Domain Name System

DNS 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 names for IP addresses e.g., neon.cs.virginia.edu,

More information

Domain Name System (DNS) Services

Domain Name System (DNS) Services 12 Domain Name System (DNS) Services Contents Overview..................................................... 12-3 Host and Domain Names.................................... 12-3 Host Tables...............................................

More information

DNS Basics. DNS Basics

DNS Basics. DNS Basics DNS Basics 1 A quick introduction to the Domain Name System (DNS). Shows the basic purpose of DNS, hierarchy of domain names, and an example of how the DNS protocol is used. There are many details of DNS

More information

How to Add Domains and DNS Records

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.

More information

Module 2. Configuring and Troubleshooting DNS. Contents:

Module 2. Configuring and Troubleshooting DNS. Contents: Configuring and Troubleshooting DNS 2-1 Module 2 Configuring and Troubleshooting DNS Contents: Lesson 1: Installing the DNS Server Role 2-3 Lesson 2: Configuring the DNS Server Role 2-9 Lesson 3: Configuring

More information

Resilient Networking. Overview of DNS Known attacks on DNS Denial-of-Service Cache Poisoning. Securing DNS Split-Split-DNS DNSSEC.

Resilient Networking. Overview of DNS Known attacks on DNS Denial-of-Service Cache Poisoning. Securing DNS Split-Split-DNS DNSSEC. Resilient Networking 6: Attacks on DNS Overview of DNS Known attacks on DNS Denial-of-Service Cache Poisoning Securing DNS Split-Split-DNS DNSSEC SoSe 2014 Fachbereich Informatik Telecooperation Group

More information

Lesson 13: DNS Security. Javier Osuna josuna@gmv.com GMV Head of Security and Process Consulting Division

Lesson 13: DNS Security. Javier Osuna josuna@gmv.com GMV Head of Security and Process Consulting Division Lesson 13: DNS Security Javier Osuna josuna@gmv.com GMV Head of Security and Process Consulting Division Introduction to DNS The DNS enables people to use and surf the Internet, allowing the translation

More information

Chapter 7 Implementing Domain Name System (DNS)

Chapter 7 Implementing Domain Name System (DNS) [Previous] [Next] Chapter 7 Implementing Domain Name System (DNS) About This Chapter In this chapter, you will learn how Domain Name System (DNS) is used to resolve host names on your local area network

More information

DNS + DHCP. Michael Tsai 2015/04/27

DNS + DHCP. Michael Tsai 2015/04/27 DNS + DHCP Michael Tsai 2015/04/27 lubuntu.ova http://goo.gl/bax8b8 DNS + DHCP DNS: domain name < > IP address DHCP: gives you a IP + configuration when you joins a new network DHCP = Dynamic Host Configuration

More information

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!!

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!! The Domain Hierarchy IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy the general form for a fully qualified name is and of course there can be sub-sub-!! -sub-domains

More information

Domain Name Servers. Domain Types WWW host names. Internet Names. COMP476 Networked Computer Systems. Domain Name Servers

Domain Name Servers. Domain Types WWW host names. Internet Names. COMP476 Networked Computer Systems. Domain Name Servers Domain Name Servers COMP76 Networked Computer Systems Internet Names Hierarchical starting from the right host.subnet.organization.type Names are case insensitive and can be in either upper or lower case.

More information

Basic DNS Course. Module 1. DNS Theory. Ron Aitchison ZYTRAX, Inc. Page 1 of 24

Basic DNS Course. Module 1. DNS Theory. Ron Aitchison ZYTRAX, Inc. Page 1 of 24 Basic DNS Course Module 1 Ron Aitchison ZYTRAX, Inc. Page 1 of 24 The following are the slides used in this Module of the course. Some but not all slides have additional notes that you may find useful.

More information

DNS and electronic mail. DNS purposes

DNS and electronic mail. DNS purposes DNS and electronic mail Section 9.1.3 in the textbook DNS purposes Originally purpose was to translate hostnames into IP addresses www.csd. is easier to remember than 129.100.23.247 Lets us do load balancing

More information

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 How DNS Works 210 out of 241 rated this helpful Updated: March 28, 2003 Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 How DNS Works

More information

Networking Domain Name System

Networking Domain Name System IBM i Networking Domain Name System Version 7.2 IBM i Networking Domain Name System Version 7.2 Note Before using this information and the product it supports, read the information in Notices on page

More information

Copyright International Business Machines Corporation 2001. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure

Copyright International Business Machines Corporation 2001. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure iseries DNS iseries DNS Copyright International Business Machines Corporation 2001. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule

More information

Work No. 1 Samba. What is Samba?

Work No. 1 Samba. What is Samba? Work No. 1 Samba What is Samba? Samba is an implementation of a Server Message Block (SMB) protocol server that can be run on almost every variant of UNIX in existence. Samba is an open source project,

More information

K-Root Name Server Operations

K-Root Name Server Operations K-Root Name Server Operations Andrei Robachevsky andrei@ripe.net 1 Outline Root Server System brief update Architecture Current locations Anycast deployment K.root-servers.net Server Major milestones Current

More information

CS244A Review Session Routing and DNS

CS244A Review Session Routing and DNS CS244A Review Session Routing and DNS January 18, 2008 Peter Pawlowski Slides derived from: Justin Pettit (2007) Matt Falkenhagen (2006) Yashar Ganjali (2005) Guido Appenzeller (2002) Announcements PA

More information

How to Configure the Windows DNS Server

How to Configure the Windows DNS Server Windows 2003 How to Configure the Windows DNS Server How to Configure the Windows DNS Server Objective This document demonstrates how to configure domains and record on the Windows 2003 DNS Server. Windows

More information

Computer Networks: DNS a2acks CS 1951e - Computer Systems Security: Principles and Prac>ce. Domain Name System

Computer Networks: DNS a2acks CS 1951e - Computer Systems Security: Principles and Prac>ce. Domain Name System Computer Networks: DNS a2acks CS 1951e - Computer Systems Security: Principles and Prac>ce 18/02/15 Networks: DNS attacks 1 Domain Name System The domain name system (DNS) is an applica>on- layer protocol

More information

CSIS 3230 Computer Networking Principles, Spring 2012 Lab 7 Domain Name System (DNS)

CSIS 3230 Computer Networking Principles, Spring 2012 Lab 7 Domain Name System (DNS) CSIS 3230 Computer Networking Principles, Spring 2012 Lab 7 Domain Name System (DNS) By Michael Olan, Richard Stockton College (last update: March 2012) Purpose At this point, all hosts should be communicating

More information