Jeremy’s IT Lab - CCNA DNS Lab Notes

Jun 23, 2024

Jeremy’s IT Lab - CCNA Course

Introduction

  • Free, complete course for the CCNA.
  • Subscription and engagement (likes, comments, shares) are encouraged.
  • Sign up via the link in the description for lab files to use in Packet Tracer.
  • Recommendation for Boson’s NetSim for the CCNA, a superior network simulator.

Lab Configuration: DNS (Domain Name System)

Step 1: Configure Default Route to the Internet on R1

  • Configure R1 to act as DNS server using command IP DNS SERVER.
  • Use 1.1.1.1 (Cloudflare DNS) as DNS server.
  • Command:
    • IP ROUTE 0.0.0.0 0.0.0.0 203.0.113.2
    • Test with DO PING 1.1.1.1.
    • INTERNET cloud is just a router with a changed icon.

Step 2: Configure PCs to use DNS Server

  • Configure PC1, PC2, PC3 to use 1.1.1.1 as DNS server.
  • PC Configuration:
    • Config tab ➔ DNS server ➔ 1.1.1.1
  • Discussion on DHCP vs. Static configuration.

Step 3: Configure R1’s DNS Server

  • Configure DNS server and host table for local network (192.168.0.0/24).
  • Commands:
    • IP NAME-SERVER 1.1.1.1
    • Host entries:
      • IP HOST R1 192.168.0.254
      • IP HOST PC1 192.168.0.1
      • IP HOST PC2 192.168.0.2
      • IP HOST PC3 192.168.0.3
    • Verify with DO SHOW HOSTS
    • Test with DO PING PC1
    • IP DOMAIN LOOKUP command enabled by default

Step 4: Using Packet Tracer’s Simulation Mode

  • Demonstrate traffic flow when PC1 pings youtube.com by name.
  • Simulation Steps:
    • Enable Simulation Mode (bottom right).
    • From PC1, command: PING youtube.com
    • DNS query message process and MAC address resolution explanations.
    • ARP messages and ICMP message creation for ping.
    • First ping might fail due to ARP process; subsequent pings likely succeed.
  • Highlight on understanding DNS operations, not just configuration.
  • Packet Tracer Simulation Mode as a tool to understand network traffic.

Boson NetSim Lab Preview

Lab Selection

  • Configuring DNS 1 (out of four DNS labs).
  • Simple topology: One router, one switch, two PCs.
  • Introduction to IPCONFIG, default gateway, IP address, and DNS server settings.

Task 1: Device Configuration

  • Router1 Configuration:
    • Hostname: HOSTNAME Router1
    • Interface F0/0: INTERFACE F0/0, IP: 10.0.0.1 /24
  • Switch1 Configuration:
    • IP address on VLAN1 (Layer 2 switch): 10.0.0.2 /24
    • Enabled with NO SHUT
  • PC1 and PC2 Configuration:
    • PC1: IPCONFIG /IP 10.0.0.100 /24, IPCONFIG /DG 10.0.0.1
    • PC2: IPCONFIG /IP 10.0.0.101 /24, IPCONFIG /DG 10.0.0.1
  • Verification:
    • DO SHOW IP INTERFACE BRIEF
    • DO SHOW IP INTERFACE F0/0
    • Network connectivity verification via ping from Router1 to Switch1, PC1, and PC2.

Task 2: Configuring DNS

  • Step 1: Ping Router1 from Switch1 by name (expected to fail due to no DNS config).
  • Step 2: Enable DNS server on Router1: IP DNS SERVER
  • Step 3: Configure host table entries on Router1: IP HOST Router1 10.0.0.1, IP HOST Switch1 10.0.0.2
  • Step 4: Configure Switch1 to use Router1’s IP as DNS server: IP NAME-SERVER 10.0.0.1
  • Step 5: Verify hostname-to-address translation on Switch1: PING Router1

Conclusion

  • Encouragement to use Boson NetSim for CCNA labs.
  • Listing and thanking JCNP-level channel members.
  • Final tips for subscribing, liking, commenting, and sharing the video.