Introduction to Sequences and Series

Module: B1.2-R5: Discrete Structures

Chapter: Sequences & Series

🔹 Introduction

DNS (Domain Name System) is responsible for converting human-readable domain names like google.com into IP addresses. It stores information in the form of Resource Records (RRs). MTU (Maximum Transmission Unit) defines the largest packet size that a network link can carry.

This topic covers:

  • Various DNS Resource Record Types
  • DNS zone structure
  • MTU, fragmentation & Path MTU Discovery
1️⃣ DNS Resource Records (RR)

DNS uses different types of records to store data about domains, servers, mail systems, and IP addresses.

Record Type Description Example
A Maps domain → IPv4 address google.com → 142.250.182.78
AAAA Maps domain → IPv6 address google.com → 2404:6800::2002
CNAME Alias record www → example.com
MX Mail exchange server 10 mail.google.com
NS Authoritative name servers ns1.example.com
SOA Start of authority for the zone Primary DNS, admin email
PTR Reverse DNS lookup 78.182.250.142.in-addr.arpa → google.com
TXT Text/verification records SPF, DKIM, domain verification
SRV Service record _sip._tcp.example.com
✔ DNS Hierarchy Diagram
                    Root (.)
                      |
        -----------------------------
        |             |             |
      .com           .org         .net
        |
   example.com
        |
   www.example.com
2️⃣ MTU (Maximum Transmission Unit)

MTU represents the largest possible frame or packet that a network medium can carry.

✔ Common MTU Values
  • Ethernet: 1500 bytes
  • PPPoE: 1492 bytes
  • Wi-Fi: 2304 bytes
  • Loopback: 65535 bytes
✔ Why MTU Matters?
  • Prevents fragmentation
  • Ensures faster transmission
  • Improves network efficiency
3️⃣ IP Fragmentation

When a packet is larger than the MTU of a link, it must be fragmented.

✔ Fragmentation Diagram
Original Packet (4000 bytes)
↓ Fragmented into →
1500 bytes | 1500 bytes | 1000 bytes
✔ Problems with Fragmentation
  • Slower transmission
  • More overhead
  • Reassembly issues
  • Increased packet loss
4️⃣ Path MTU Discovery (PMTUD)

PMTUD automatically discovers the smallest MTU along a network path to avoid fragmentation.

✔ How PMTUD Works
  • Sends packets with “Don’t Fragment (DF)” flag
  • If an intermediate router cannot forward:
    • It sends ICMP “Fragmentation Needed” message
  • Sender reduces packet size
✔ Diagram
Sender → Router1 → Router2 (MTU 1200) → Receiver
      ICMP Fragmentation Needed ↑
5️⃣ Real-World Example
✔ Checking MTU on Windows
netsh interface ipv4 show subinterfaces
✔ Checking DNS Records
nslookup -type=MX google.com
nslookup -type=TXT example.com
📝 Conclusion

DNS Resource Records store essential domain information used for web hosting, mail routing, authentication, and service discovery. MTU concepts ensure efficient packet transmission by preventing fragmentation and optimizing network paths. Together, they improve Internet reliability and performance.