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.
Server 0 in the above topology is our dhcp server and Server 1 is our dns server.

Set up IP on server 0.
Set up DHCP on server 0.
Set up IP on server 1.
Now, go to PC and select DHCP.
Go to Web Browser and enter Server 0 ip address. You can access the website of the server.
Now, let us set DNS on server 1.
Now, again go to PC and in the web browser enter the name that you set in DNS.
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.

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.



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

    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.

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

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

    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.

  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
    IP DNS in DMZ
    IP Web server in DMZ
    IP mail server in DMZ

    Pls help

    Best regards


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

    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 ,


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

  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?

  8. Hi!

    I would like to use DHCP and DNS with vlan:

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

  9. Thanks for all your efforts that you have put in this .very interesting information.i would like to do all the information.
    Godaddy Coupon

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

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

  12. This comment has been removed by the author.

  13. 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!

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

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

    goldenslot casino
    gclub casino

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

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

  18. BlueHost is definitely one of the best web-hosting company for any hosting plans you might require.

  19. 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

  20. This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you.

  21. 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

  22. This is really nice to read content of this blog. A is very extensive and vast knowledgeable platform has been given by this blog. I really appreciate this blog to has such kind of educational knowledge.

  23. 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.

  24. Nothing remain forever. Then why to keep same patter of work again and again. Why to repeat same strategy for very essay. Use differ strategy for different subjects because every subject has its own meaning. Keep such posts on.