Your SlideShare is downloading. ×
Dns
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Dns

136

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
136
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. DNS Domain Name Service/Domain Name System DNS in Microsoft Windows Server 2003 What is DNS? - Domain Name Service/Domain Name System - Provides resolution of names to IP addresses and resolution of IP addresses to names - Defines a hierarchical namespace where each level of the namespace is separated by a “.” What is a DNS Server? - Computer running DNS service Can be: - Microsoft® Windows® Server 2003 - Windows 2000 - Microsoft Windows® NT 4 - UNIX - Linux - NetWare Etc. How Names Are Mapped to IP Addresses
  • 2. DNS Namespace Query Types Recursive Queries A query made from a client to a DNS server in which the server assumes full workload. DNS server returns either a complete answer or negative answer. Iterative Queries Receiving server may return an answer, a negative response, or a referral to other DNS Server's “Give me an answer or refer me to somebody else who can help me obtain resolution.” Issued by: DNS Servers Lookup Types: Forward lookup Requests Name-to-IP Address resolution Reverse lookup Requests IP Address-to-Name resolution
  • 3. Fully Qualified Domain Name (FQDN) Identifies a host’s name within the DNS namespace hierarchy Host name plus DNS domain name = FQDN ZONE: Zone is a storage database which contains all zone Records Forward Lookup Zone - Used for Resolving Host Names to IP-Address - It maintains Host to IP Address Mapping Information Reverse Lookup Zone - Used for Resolving IP-Address to Host Names - It maintains IP Address to Host Mapping Information Types of Records 1-SOA Record The first record in any zone file 2-N S Record Identifies the DNS server for each zone 3-Host Record Resolves a host name to an IP address 4-Alias Record Resolves an alias name to a host name Zone Types: 1-Standard Primary It is the Master Copy of all the Zone Information. It is Read/Write copy 2- Standard Secondary It is Backup to Primary zone. It is Read Only 3-Stub Zone It contains only NS ,SOA & possibly Glue (A) Records which are used to locate name servers
  • 4. Active Directory Integrated It stores the information of Zone in ACTIVE DIRECTORY DATABASE How can installing DNS:- Requirement - DC member server or workgroup - Static IP Address 7-10-1-How to install DNS?  start -> setting -> control panel  add and remove program ->  add and remove windows component
  • 5.  select network service -> details  check the box on [ √ ] Domain next Name System (DNS) -> ok ->
  • 6.  ok -> finish to Access DNS  start -> program ->administrative tools -> DNS  or -> start -> run -> [ dnsmgmt.msc]
  • 7. create Zone  -> start -> program ->administrative tools -> DNS -> expand server name-> expand forward lookup zone -> right click forward lookup zone -> new zone -> next  select primary zone -> next  select To all DNS server in the active Directory domain (domain name ) -> next
  • 8.  give the zone name eg : ( yahoo.com ) -> next  select allow both nonsecure and secure dynamic update -> next
  • 9.  finish Create Host record  right click on zone (yahoo.com ) -> new host  give the system name> and IP address -> click on add Host ->  done  right click on zone (yahoo.com ) -> new Alias (CNAME)
  • 10.  give the alias name (www) ->  click browse -> double click on (system name ) -> double click on (forward lookup zone ) ) -> double click on (zone name “yahoo.com”) -> select host name -> ok ->
  • 11.  to check the resolution  start -> run -> [cmd ] -> ping [ www.yahoo.com] Note : suppose the resolution is not showing Type command [ c: ipconfig /flushdns ]
  • 12. Secondary zone DC member server (anther DNS server) ip add 192.168.1.1 192.168.1.2 DNS 192.168.1.1 192.168.1.1 On DC : -> Create primary zone Eg www.yahoo.com On member server :  create secondary zone with same name ( www.yahoo.com)  start -> program ->administrative tools -> DNS -> expand server name-> expand forward lookup zone -> right click forward lookup zone -> new zone -> next  select secondary zone -> next
  • 13.  give the zone name -> next  assign the IP Address of first DNS server ( 192.168.0.1) -> next -> finish  right click on primary zone -> proprieties -> select zone transfer
  • 14.  ON the DC ->check the box [√] allow zone transfer -> select only to the following server -> assign the IP address of the DNS of member server -> apply -> ok  ON member server  right click on secondary zone -> select transfer from master  refresh
  • 15. create sub zone DC ip add 192.168.1.1 DNS 192.168.1.1 member server (anther DNS server) 192.168.1.2 192.168.1.1 -> On DC : -> Create primary zone Eg www.yahoo.com -> On member server :  create secondary zone with same name ( www.yahoo.com)  start -> program ->administrative tools -> DNS -> expand server name-> expand forward lookup zone -> right click forward lookup zone -> new zone -> next  select sub zone -> next -> next
  • 16.  give the sub zone name ->assign the DNS (primary) IP Address
  • 17.  next -> finish Note : to see the information present in cache [C: ipconfig /displaydns ] To remove the information in cache [ c: ipconfig /flushdns ]
  • 18. Reverse lookup zone  create primary zone on forward lookup zone with host and alias  create reverse lookup zone  right click on reverse lookup zone -> new zone -> next  select primary zone -> next  next  assign the network ID -> next
  • 19.  select [ allow both non secure & secure dynamic update ]  -> next -> finish
  • 20. Create Pointer :  right click on reverse lookup zone -> new pointer (PTR)  assign the Host IP -> click on Browse -> select -> double click on (system name ) -> double click on (forward lookup zone ) ) -> double click on (zone name “yahoo.com”) -> select host name -> ok -> ok
  • 21. To check the reverse lookup zone  open cmd type [ c: NSLOOKUP “ IP ADDRESS ” ] Forwarders Forwarders in DNS server configure forwarder so that it can forwarded the query to anther . DNS server where it can complete the resolution . You can also configure forwarders for load balancing . To configure forwarder -> check the IP address for tow different DNS server IP 192.168.0.1 DNS 192.168.0.1 Sys1 IP 192.168.0.2 DNS 192.168.0.2 Sys2 ON SYS1  create zone with host record and alias name (www.yahoo.com ) ON SYS2
  • 22.  create zone with host record and alias name (www.google.com ) ON SYS1  open cmd ping www.yahoo.com reply and ping www.google.com not reply  open DNS right system name -> properties -> forwarder and assign the IP address of DNS ( SYS2) -> apply -> ok  open cmd ping www.google.com reply Internet Information Service ( IIS )

×