🌐 Programmer's Picnic | V3 Premium

DNS Entries from Ground Zero to Expert

This lesson uses only DUMMY names and DUMMY IP addresses: champakhavingprogrammerspicnic.now, champakspicnicdummyhub, and 203.0.113.10.

Today’s Goal

Understand DNS records, nameservers, subdomains, HTTPS flow, email records, debugging, and safe DNS planning without using any real hosting provider example.

Level 0

What is DNS?

DNS means Domain Name System. It converts a human-friendly name into a server address.

You type:
champakhavingprogrammerspicnic.now

DNS answers:
Go to DUMMY IP 203.0.113.10

Website opens.
DUMMY means this is only for learning. Do not copy dummy IP addresses into a live production domain.
Animated Mental Model

Browser to Website Flow

Browser
β†’
DNS
β†’
DUMMY Web Server
203.0.113.10
Level 1 to 4

Important DNS Record Types

Record Meaning DUMMY Example Used For
A Domain to IPv4 address @ β†’ 203.0.113.10 Website hosting
AAAA Domain to IPv6 address @ β†’ 2001:db8::10 IPv6 hosting
CNAME Name to another domain name www β†’ champakspicnicdummyhub.example Subdomain mapping
MX Email routing @ β†’ mail.champakhavingprogrammerspicnic.now Business email
TXT Verification and security text dummy-site-verification=abc123 Verification, SPF, DKIM, DMARC
NS Nameserver ns1.dummy-dns-provider.example Who controls DNS
SOA Zone authority info Primary DNS admin info DNS system management

A Record

Type: A
Host: @
Value: 203.0.113.10
Note: DUMMY IP

Use it when the domain should point directly to a server IP.

CNAME Record

Type: CNAME
Host: www
Value: champakspicnicdummyhub.example
Note: DUMMY target

Use it when one name should point to another domain name.

TXT Record

Type: TXT
Host: @
Value: dummy-site-verification=abc123
Note: DUMMY verification

Use it for verification and email security rules.

Generic Hosting Setup

DUMMY DNS Setup for Any Hosting Platform

Domain:
champakhavingprogrammerspicnic.now

DUMMY Root Domain A Records:
@ β†’ 203.0.113.10
@ β†’ 203.0.113.11

DUMMY WWW CNAME:
www β†’ champakspicnicdummyhub.example

DUMMY App Subdomain:
app β†’ champakspicnicdummyhub.example

DUMMY API Subdomain:
api β†’ 203.0.113.20
This is not provider-specific. Replace DUMMY IPs and DUMMY hostnames with the real values given by your actual hosting provider.

Correct Generic Setup

Root domain points to hosting IPs. Subdomains can point to hostnames or different servers.

Wrong Generic Setup

Do not guess IP addresses. Always use the values from your hosting control panel or DNS provider.

HTTPS Flow

Why HTTPS Takes Time

1. DNS records are added
2. DNS starts propagating
3. Hosting platform verifies the domain
4. SSL certificate is created
5. HTTPS option becomes available
6. Website opens with lock icon

HTTP may work before HTTPS. That is normal during setup.

TTL

TTL = Time To Live
Example: 1 Hour

TTL controls how long DNS answers stay cached.

Propagation

Fast: 5 minutes
Normal: 30 minutes to 6 hours
Sometimes: 24 to 48 hours
Interactive Practice Lab

DUMMY DNS Record Builder

Your DUMMY DNS record will appear here.

Debug Commands

nslookup champakhavingprogrammerspicnic.now

nslookup www.champakhavingprogrammerspicnic.now

nslookup -type=ns champakhavingprogrammerspicnic.now

nslookup -type=mx champakhavingprogrammerspicnic.now

nslookup -type=txt champakhavingprogrammerspicnic.now

Common Mistakes

❌ Missing A records

❌ Wrong CNAME target

❌ Wrong nameservers

❌ Expecting instant HTTPS

❌ Deleting MX records accidentally

❌ Copying DUMMY IPs into a real domain

Expert Level

Advanced DNS Concepts

1. Authoritative DNS

The DNS provider that actually controls your records.

2. Recursive Resolver

The resolver that asks DNS servers and returns the final answer to your browser.

3. Wildcard DNS

*.champakhavingprogrammerspicnic.now β†’ 203.0.113.10
Note: DUMMY wildcard setup

4. Email DNS Security

SPF, DKIM, and DMARC protect email from spoofing.

5. CDN DNS

A CDN can sit between visitors and your website to improve speed and security.

MCQ Quiz

Test Your DNS Knowledge

1. Which DNS record points a domain to an IPv4 address?

2. Which record points one name to another domain name?

3. Which record handles email routing?

4. Which record is commonly used for verification?

5. What does TTL mean?

Score will appear here.