October 26, 2012

DNS on packet tracer:

Here in this tutorial, we are going to set a dns (domain name system) server and a dhcp server. And then from our PC we will use dns service.
1
Server 0 in the above topology is our dhcp server and Server 1 is our dns server.
a

Set up IP on server 0.
 2
Set up DHCP on server 0.
3
Set up IP on server 1.
4
Now, go to PC and select DHCP.
6
Go to Web Browser and enter Server 0 ip address. You can access the website of the server.
7
Now, let us set DNS on server 1.
9
Now, again go to PC and in the web browser enter the name that you set in DNS.
 8
Voila, we have done it. Now, in this tutorial, router is additional and we can use it if required, Set the IP of the interface. Though i do not recommend to use this GUI panel for this.
i

To see how to make a router DHCP server. Click here. You can also achieve DNS by using single sever by supplying the Server with the same IP and DNS address. Try it.

25 comments:

  1. is it possible to make the both the DNS service and DHCP service within a same server?

    ReplyDelete
    Replies
    1. Oops , just saw your comment. yes, if you give the dns address the IP address of the Server (i.e the same IP address will be used in DNS address and IP address of the server) . You will have dns and dhcp on the same server.

      Delete
  2. Yes it is possible, if you look under the config tab you will see lots of roles/services there that can be enabled

    ReplyDelete
  3. Hi is it possible to ping the machine name here on packet tracer?

    ReplyDelete
    Replies
    1. On a network, a machine's identity is its IP address. To ping it you ll have to enter the ip address. Unless it is a server, then you can ping it by the name that you have assigned through DNS. Hope that helps.

      Delete
  4. Hello people

    I have question about DNS configuration. If we have one big network, and one part of network is separated (DMZ type for public servers web, mail and dns). In closed part of network we have another DNS for clients from closed network. If one client ask for some web page (www.google.com) and DNS in closed part of net doesn't know IP for that web page it must ask DNS in DMZ. How to configure DNS in closed part of network to ask questions DNS in DMZ? I know that we must set up A record and NS record but what are parameters?

    IP DNS in closed part of net 180.190.200.8
    IP DNS in DMZ 170.180.190.140
    IP Web server in DMZ 170.180.190.141
    IP mail server in DMZ 170.180.190.142

    Pls help

    Best regards

    Box

    ReplyDelete
  5. and what if the dns config tab is locked? how will you turn the dns service on then?

    ReplyDelete
    Replies
    1. if the configuration tab is not available , go on cli and type the following command
      dns-server (ip address of your dns server). In my case that would be ,

      dns-server 192.168.1.3

      Delete
  6. Thanks this tutorial was really helpful for me while I was working on a Networking Assignment.

    ReplyDelete
  7. This side give In-depth procedures about how to perform key tasks, including managing servers, managing and adding zones, and securing infrastructure. Moreover Comprehensive reference about Microsoft DNS including what it is, how it works, and DNS tools and registry settings makes to use dns more easy and trouble free. But how to tab unlock?

    ReplyDelete
  8. Hi!

    I would like to use DHCP and DNS with vlan:
    http://oi58.tinypic.com/15yamjb.jpg

    How can I configure my network in the Packet Trace to get dhcp address vlan 10 and vlan 20 computers?

    ReplyDelete
  9. Amazing thing you post in this blog. It help me to solve my related problem. Nice bolg post.
    Visit :- CS Service

    ReplyDelete
  10. Why you give Server 1 (DNS Configuration) DHCP ip address ?

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Hi
    i am not getting DNS Server while set up Server IP address.
    IP Configuration does not show DNS Server but IP address, Subnet Mask and Default Gateway only.
    How to get this DNS Server option?
    Thanks in advance!

    ReplyDelete
  13. Hi
    I Have Read Your Blog.
    It Is Very Useful Post Thank You For Sharing With Us..
    IEEE Engineering Projects.

    ReplyDelete
  14. It Is Very Useful Post Thank You For Sharing With Us..
    thank you so much for your working hard.


    goldenslot casino
    บาคาร่าออนไลน์
    gclub casino

    ReplyDelete
  15. Thanks for all your post that you have put in this .very interesting information.i would like to do all the information.. CM8064601466200S

    ReplyDelete
  16. hey! noman khan which number do you mention in comment its i think a cisco switch CP-PWR-MC7925G

    ReplyDelete
  17. I wanted to convey Appreciate delivering this info, you are performing a best wishes while using internet site if you have a possibility do you assist me to make some changes to be able to this site? Not well pay out for the assist, you will find the url in order to this site during my name. Many thanks! news

    ReplyDelete
  18. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.ราคา blade server

    ReplyDelete
  19. HP printer support Customer Care Phone number and HP printer tech support Toll-free number is 1-866-724-8600. Our HP printer technical expert help 24/7 to deal with your hp printer support, printer troubleshooting, hp printer not printing, printer wireless printer setup and all hp printer problems. HP printer Customer care service in Canada.

    ReplyDelete

C program to Read From a File

#include <stdio.h> #include <stdlib.h> void main() {     FILE *fptr;     char filename[15];     char ch;   ...