How to Configure DNS Server in Cisco Packet Tracer
On this occasion I want to share a tutorial setting and configuring DNS servers in Cisco packet tracer simply. But before that, we will first discuss what DNS is.
What are DNS Servers?
Simply put DNS is a system that can translate numbers into names, namely IP addresses into names. For example, an IP address 192.168.10.1 on the internet so that it can be found more easily must be changed to a name, for example digitalkit.
That’s what it’s called Domaina system for naming an IP address to make it easier to remember.
How to Configure DNS Server in Cisco Packet Tracer
Please open the Cisco Packet Tracer application first, and prepare the following tools:
- Server (1 device)
- Switch (1 device)
- PC (2 devices)
- Laptop (1 device)
After that, connect the device using a Copper Staright-Through cable, to make it easier, just use the orange automatic cable.
Once the device is connected, we will do settings on the serverby entering the static IP:
IP: 192.168.10.1
Subnet: 255.255.255.0
Default gateway: 192.168.10.2
DNS servers: 192.168.10.1 (Adjust to server IP).
After that, still on the server, go to the menu Services, DNS:
In DNS service check the button on to activate the DNS server feature. In part name Fill in the name you want to use as the domain. For example bima or bima.comwith Type A records.
Address fill in the server IP address (192.168.10.1), then click add, and DNS Server is active.
So that clients (PCs and laptops) can access the web server, we need to connect by setting the IP on the client.
Go to IP Configuration on PC:
We’re using 2 PCs, just fill them in IP 192.168.10.3 For PC1 And 192.168.10.4 For PC2. Then for Laptops fill in with 192.168.10.5. With every client using Subnet Mask 255.255.255.0 And Gateway/DNS server 192.168.10.1 (According to server IP).
After that, try the ping test between PC to PC, PC to Laptop, and Laptop to Serverif it is successful then it can be confirmed Configure DNS servers succeed.
To check, please go to the Client, it can be a PC, or laptop to access the web server, go to Web Browsertype the domain name you created earlier.
Here’s an example from Configure DNS servers what we made earlier:
Apart from using a name to access the web server, we can also access it using the DNS IP that we registered.