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.
This lesson uses only DUMMY names and DUMMY IP addresses: champakhavingprogrammerspicnic.now, champakspicnicdummyhub, and 203.0.113.10.
Understand DNS records, nameservers, subdomains, HTTPS flow, email records, debugging, and safe DNS planning without using any real hosting provider example.
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.
| 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 |
Type: A
Host: @
Value: 203.0.113.10
Note: DUMMY IP
Use it when the domain should point directly to a server IP.
Type: CNAME
Host: www
Value: champakspicnicdummyhub.example
Note: DUMMY target
Use it when one name should point to another domain name.
Type: TXT
Host: @
Value: dummy-site-verification=abc123
Note: DUMMY verification
Use it for verification and email security rules.
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
Root domain points to hosting IPs. Subdomains can point to hostnames or different servers.
Do not guess IP addresses. Always use the values from your hosting control panel or DNS provider.
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 = Time To Live
Example: 1 Hour
TTL controls how long DNS answers stay cached.
Fast: 5 minutes
Normal: 30 minutes to 6 hours
Sometimes: 24 to 48 hours
nslookup champakhavingprogrammerspicnic.now
nslookup www.champakhavingprogrammerspicnic.now
nslookup -type=ns champakhavingprogrammerspicnic.now
nslookup -type=mx champakhavingprogrammerspicnic.now
nslookup -type=txt champakhavingprogrammerspicnic.now
β Missing A records
β Wrong CNAME target
β Wrong nameservers
β Expecting instant HTTPS
β Deleting MX records accidentally
β Copying DUMMY IPs into a real domain
The DNS provider that actually controls your records.
The resolver that asks DNS servers and returns the final answer to your browser.
*.champakhavingprogrammerspicnic.now β 203.0.113.10
Note: DUMMY wildcard setup
SPF, DKIM, and DMARC protect email from spoofing.
A CDN can sit between visitors and your website to improve speed and security.