DNS Name Resolution 1. INTRODUCTION. 2. Steps in the Lab. 3. Configuring the Network

Similar documents
How to Configure the Windows DNS Server

Lab - Observing DNS Resolution

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

Installing and Setting up Microsoft DNS Server

How To Guide Edge Network Appliance How To Guide:

Lab - Observing DNS Resolution

Windows 2008 Server. Domain Name System Administración SSII

KAREL UCAP DNS AND DHCP CONCEPTS MANUAL MADE BY: KAREL ELEKTRONIK SANAYI ve TICARET A.S. Organize Sanayi Gazneliler Caddesi 10

Talk-101 User Guide. DNSGate

Easy Setup Guide for the Sony Network Camera

Guideline for setting up a functional VPN

Ethernet Connection Setup for CCU

Configuration Network Management Card-2

File transfer and login using IPv6, plus What to do when things don t work

Copyright

Using Webmin and Bind9 to Setup DNS Sever on Linux

(1) Network Camera

How to connect your new virtual machine to the Internet

1 PC to WX64 direction connection with crossover cable or hub/switch

How to Add Domains and DNS Records

DNS Resolving using nslookup

How to set up the Integrated DNS Server for Inbound Load Balancing

How To Industrial Networking

In the Active Directory Domain Services Window, click Active Directory Domain Services.

Understand Names Resolution

Copyright

How-to: DNS Enumeration

Fasthosts Internet Parallels Plesk 10 Manual

Computer Networks I Laboratory Exercise 1

D-Link DAP-1360 Repeater Mode Configuration

Quick Installation Guide Network Management Card

CCProxy. Server Installation

Information Security Practice II. Installation and set-up of Web Server and FTP accounts

To install the SMTP service:

Configuring the PIX Firewall with PDM

Qvis Security Technical Support Field Manual LX Series

Domain Name System (DNS)

StarWind iscsi SAN Software: Using StarWind with MS Cluster on Windows Server 2003

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

ITIS 2110 Lab 11: Domain Name Server. Tyler Everhart 11/12/2010

DDNS Management System User Manual V1.0

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

ADSL Router Quick Installation Guide Revised, edited and illustrated by Neo

Appendix D: Configuring Firewalls and Network Address Translation

Setup for Windows XP Connect to your Windows XP machine with: FileBrowser, NetPortal & ServerControl

CONFIGURING MNLB FOR LOAD BALANCING EXCHANGE 2013 CU2 CAS SERVERS FOR HIGH AVAILABILITY

CCNA Discovery Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

DNS and Interface User Guide

Configuring an External Domain

7 TRANSMISSION CONTROL PROTOCOL/ INTERNET PROTOCOL (TCP/IP)

Lab Configure Cisco IOS Firewall CBAC

Course 2277: Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure: Network Services

Microsoft Windows 2003 DNS Server for Wireless LAN Controller (WLC) Discovery Configuration Example

Steps to be taken when you are unable to get the license in Tally.ERP 9

Configuring Trend Micro Content Security

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering

Parallels Plesk Panel User Guide

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

From a Finder window choose Applications (shown circled in red) and then double click the Tether icon (shown circled in green).

Load Balancing Exchange 2007 SP1 Hub Transport Servers using Windows Network Load Balancing Technology

Module 2. Configuring and Troubleshooting DNS. Contents:

Configuring your network settings to use Google Public DNS

How to Configure DNS Zones

HRG Performance Series DVR DDNS Support Application Note (hrgddns)

ECE 4321 Computer Networks. Network Programming

Network Load Balancing

Setting Up Internet Connection Sharing (ICS) on a Server

Domain Name System. Heng Sovannarith

FaxCore Ev5 -To-Fax Setup Guide

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

Introduction to Network Operating Systems

AD RMS Windows Server 2008 to Windows Server 2008 R2 Migration and Upgrade Guide... 2 About this guide... 2

DNS (Domain Name System) is the system & protocol that translates domain names to IP addresses.

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

- Domain Name System -

Wazza s QuickStart 1. Leopard Server - Install & Configure DNS

Using SMTP over BGAN

You may use port 587 if port 25 is blocked by your internet provider. This does not apply to customers using PolarComm internet.

RoomWizard Synchronization Software Manual Installation Instructions

enervista UR Setup Software Quick Connect Instructions:

How to Setup and Connect to an FTP Server Using FileZilla. Part I: Setting up the server

Installing the TCP/IP Network Protocol

Slave Computer 1 Slave Computer 2

Networking Domain Name System

Off Site Access PPD IT How to Guides December 2010

Quick Guide of HiDDNS Settings (with UPnP)

DNS. Computer Networks. Seminar 12

Lab PC Network TCP/IP Configuration

Configure VPN between ProSafe VPN Client Software and FVG318

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

BioWin Network Installation

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

STATIC IP SET UP GUIDE VERIZON 7500 WIRELESS ROUTER/MODEM

Installation of MicroSoft Active Directory

Glossary of Technical Terms Related to IPv6

Lesson 13: DNS Security. Javier Osuna GMV Head of Security and Process Consulting Division

Transcription:

DNS Name Resolution 1. INTRODUCTION If I type http://74.125.227.114/ on a web browser I will get the Google homepage. This is the IP address of this web site (server that gives me this website). This is how computers connect in a network via IP addresses. I can simply use the IP address for all my web browsing. If I need to go to facebook I can type (66.220.149.94), but these are really difficult to remember (74.125.227 ) and therefore we use the Domain Name Service (DNS). We are using DNS every time we visit a website. Any URL that we type in the browser will be converted to an IP address. This is the address of the server from which you have requested the page. We are just not aware of it, as it happens in the background. 2. Steps in the Lab Domain Name server resolves the server IP address (66.220.149.94) from the server name ( www.facebook.com). So here the first step is to install a DNS server that would convert the Internet name to IP address. 3. Configuring the Network The Windows operating systems uses DNS to resolve the computers in a LAN network. Therefore the next step is to configure a Domain Name server for our computer lab. To start any server we need to assign it an IP address. This is what we are doing in the steps mentioned in Configuration of Network from 1 to 13. 1. Now click on Start. 2. Go to Administrative Tools - Server Manager. 3. In the Left Pane, click on Roles. 4. In the Right Side, click on Add Roles. 5. Click on Next in the New Window that opens. 6. Check DNS Server. 7. Click on "Install DNS Server anyway (not recommended)". 8. Click on Next. 9. Click on Next again. 10. Now click Install. 11. After the Installation completes, click on Close. 12. You have now completed the Installation of DNS Server. Close the Server Manager now. And we assign an IP address to the DNS server. 1. Click on Start. 2. Go to Control Panel. 3. Find and double click "Network and Sharing Center".

4. Find and click on the link of "View Status" under Public Network on the right of Local Area Connection. 5. Click on Properties in the new window that pops up. 6. Double Click on "Internet Protocol Version 4 (TCP/IPv4)". 7. Click on "Use the following IP Address" and fill in the following values in the respective boxes. IP Subnet Mask: 255.255.255.0 (Filled in Automatically) Default Gateway: 192.168.0.100 8. Under DNS Server Addresses, give the Preferred DNS Server address as 192.168.0.100. 9. Leave the Alternate DNS Server Address field blank. 10. Click on OK. 11. Click on OK again on the Local Area Connection Properties dialog box. 12. Click on Close on the Local Area Connection Status dialog box. 13. Close the Network and Sharing Center. 4. Configuring DNS Server 4.1 Forward Lookup Zones vs. Reverse Lookup Zones In the next couple of steps you are configuring the forward and the reverse lookup zones. A forward look up zone is nothing more than converting an address from www.technowidget.com to its corresponding IP address. A reverse look up zone is simply the reverse: converting the IP address to the Internet name. The Internet name can be divided into many levels. In the example of www.technowidgets.com, you have the top level domain and the second level domains. 4.2 Top Level Domain and Second Level Domains The.com part of the address is called Top Level Domains or abbreviated as TLD. TLD can be.com,.coop,.edu, etc. Second level domains contains businesses that registers their domain with the top level domain, for example technowidget that registers with.com In this lab exercise, the first couple of steps walk you through adding forward and reverse lookup zones, which takes care of the Internet name to IP address conversion and vice versa. We can further have a division called the sub domain. As given in the example below, a subdomain can be called research or johnserver and a host computer of this subdomain can be called www.johnserver.technowidgets.com or in case of research it can be www.research.technowidgets.com

In the next couple of steps we are adding the subdomain such as research, johnserver and mail. A company that registers for a domain can divide it into subdomains like tamu.edu, a subdomain can be email.tamu.edu or howdy.tamu.edu which are subdomains of the main domain tamu.edu. 4.3 Primary and Secondary Servers What we are configuring in this lab exercise is the primary server, which contains all the information for the hosts in the domain and updates for the secondary server. We make the forward lookup and the reverse look up zones in the primary server. A secondary server is mainly used for load balancing. When the secondary server first starts, it gets all the data from the primary server and it periodically asks the primary server for updates. The updates in the address are recorded by the primary server by updating the serial number. As the serial number changes, the secondary server is updated by the primary server. This is done towards the end of the lab exercise. 1. Configuring DNS Server 1. Click Start. 2. Go to Administrative Tools DNS. 3. Click on the "+" Sign under the DNS Heading in the new window that opens. 4. Left Click on Forward Lookup Zones. 5. Now Right Click on Forward Lookup Zones and click on New Zone. 6. Click Next on the New Window that pops up. 7. Click Next again (The default selection is Primary Zone). 8. Give the Zone Name as: technowidgets.com and click Next. 9. Click Next again (on the new file name technowidgets.com.dns ). 10. Click Next again (on Do not allow dynamic updates). 11. Click Finish. 12. Left Click Reverse Lookup Zones. 13. Now Right Click Reverse Lookup Zones. 14. Click on New Zone. 15. Click on Next in the new window that pops up. 16. Click on Next (The default selection is Primary Zone). 17. Click on Next again (Make sure that the default selection is IPv4 Reverse Lookup Zone). 18. On the new screen that comes, give the Network ID as 192.168.0 and click on Next. 19. Click on Next on the new screen (Let the Default Selection be: Create a new file with the file name as: "0.168.192.in-addr.arpa.dns"). 20. Click on Next (Default Selection: Do Not Allow Dynamic Updates). 21. Click Finish. 22. Click on the "+" Sign on the left of "Forward Lookup Zones". 23. Right click on "technowidgets.com".

24. Click on New Host. 25. In the new window that pops up, in the Name Field, give the name as: YourNameServer. For Example: If your name is John, you give the name as : johnserver 26. In the IP Address field: 192.168.0.100. 27. Make Sure the "Created Associated Pointer (PTR) Record" checkbox is checked. 28. Click on Add Host. 29. Click on OK. 30. Now we need to create two more hosts, so we continue the process as follows: a. In the Name Field, give the name as: research. b. In the IP Address field: 192.168.0.150. c. Make Sure the "Created Associated Pointer (PTR) Record" checkbox is checked. d. Click on Add Host. e. Click on OK. 31. Again, we continue to make the next host: a. In the Name Field, give the name as: mail. b. In the IP Address field: 192.168.0.200. c. Make Sure the "Created Associated Pointer (PTR) Record" checkbox is checked. d. Click on Add Host e. Click on OK. f. Now Click on Done. 32. Again, right click on technowidgets.com under Forward Lookup Zones. 33. Click on New Alias (CNAME). 34. In the new window that pops up, in the Alias Name field, give the Alias as : www 35. In the last field, Fully Qualified Domain Name (FQDN), type: yournameserver.technowidgets.com. For Example: johnserver.technowidgets.com. 36. Click on OK. 37. Again, right click on technowidgets.com under Forward Lookup Zones. 38. Click on New Mail Exchanger (MX). 39. In the new window that pops up, leave the Host and Child Domain field blank. 40. In the Fully Qualified Domain Name (FQDN) field, type: mail.technowidgets.com. 41. Leave the Mail Server Priority to the default value of 10. 42. Click on OK. 43. Again, right click on technowidgets.com under Forward Lookup Zones. 44. Click on Properties. 45. Go to Start of Authority (SOA) tab. 46. Change the Serial Number to 2003072100. 47. Change the primary server to yournameserver.technowidgets.com. 48. Change the responsible person to admn.technowidgets.com. 49. Leave the other values as they are. 50. Now go to Name Servers tab. 51. Select the default name in the list and click on Remove.

52. Click on Add and give the name as: yournameserver.technowidgets.com and click on Resolve. 53. If you have done everything as directed, the IP Address should be shown as Validated. 54. Click on OK. 55. Click on OK again. 56. Check if you have followed all the steps properly: 1. Using Ping to Test Connectivity: We need to check whether the DNS Server is able to resolve the host name into an IP Address. Start Command Prompt from the Start Menu and type the following and then hit Enter: ping www.technowidgets.com If all the steps were performed as directed, it should generate an output somewhat like the following: Pinging yournameserver.technowidgets.com [192.168.0.100] with 32 bytes of data: Reply from 192.168.0.100: bytes=32 time=3ms TTL=128 Reply from 192.168.0.100: bytes=32 time=1ms TTL=128 Reply from 192.168.0.100: bytes=32 time<1ms TTL=128 Reply from 192.168.0.100: bytes=32 time<1ms TTL=128 Ping statistics for 192.168.0.100 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss) Approximate Round-trip times in milli-seconds: Minimum = 0ms, Maximum = 3ms, Average = 0ms

2. Using nslookup to Check DNS: Another utility specifically designed to test DNS functionality is nslookup. The first two letters in the name of the utility s name stand for name server, indicating that nslookup is designed to look up information in a name (DNS) Server. The utility works in two modes: command-line mode and interactive mode. Command-line mode: a. Start Command Prompt from the Start Menu and type: nslookup www.technowidgets.com You will get an output as follows: Server: yournameserver.technowidgets.com Name: yournameserver.technowidgets.com Aliases: www.technowidgets.com Interactive-mode: Type nslookup in Command-Prompt and hit Enter. You will get an output as follows:

Default Server: yournameserver.technowidgets.com >_ Now type: research.technowidgets.com You will get an output as follows: Server: yournameserver.technowidgets.com Name: research.technowidgets.com Address: 192.168.0.150 >_ Type exit to quit from the command prompt.