The Internet is a global network of interconnected computers that communicate using standard protocols. Every device connected to the internet needs a unique address to identify itself.

A Domain Name is a human-readable address used to access a website on the internet. Example : www.codekilla.com

Part

Example

Full Form

Subdomain

www

World Wide Web (commonly used, but technically optional)

SLD

codekilla

Second-Level Domain

TLD

.com

Top-Level Domain

“www” stands for World Wide Web, but it's not required for a website to function. Many modern sites work without it (codekilla.com). Just keep in mind that “www” is a convention, not a technical requirement.

gTLD – Generic Top-Level Domain

ccTLD – Country Code Top-Level Domain

nTLD – New Top-Level Domain

DNS – Domain Name System

DNS converts domain names into IP addresses so browsers can locate web servers.

codekilla.com → 192.168.1.1

DNS works like the Internet’s phonebook.

IP Address – Internet Protocol Address

An IP address uniquely identifies a device on a network.

Methods to Find a Domain’s IP Address

Note: If the domain uses a CDN (like Cloudflare), the IP shown may belong to the CDN rather than the origin server.

IPv4 : Internet Protocol Version 4

Octet

Binary (8 bits)

Decimal

1st

11000000

192

2nd

10101000

168

3rd

00000001

1

4th

00000001

1

Optional: Convert to Single Decimal Number

You can also convert the full IP into a single 32-bit decimal number using this formula:

Decimal IP=(192×2563)+(168×2562)+(1×2561)+(1×2560) =(192×16777216)+(168×65536)+(1×256)+1=3232235777

So 192.168.1.1 = 3232235777 in pure decimal format

IPv6 : Internet Protocol Version 6

Segment

Hex Value

Binary (16 bits)

1

2001

0010000000000001

2

0db8

0000110110111000

3

85a3

1000010110100011

4

0000

0000000000000000

5

0000

0000000000000000

6

8a2e

1000101000101110

7

0370

0000001101110000

8

7334

0111001100110100

Record

Full Form

Purpose

Example

A

Address Record

Maps to IPv4

example.com → 192.168.1.1

AAAA

Quad-A Record

Maps to IPv6

example.com → 2001:db8::1

CNAME

Canonical Name

Domain alias

www.example.com → example.com

MX

Mail Exchange

Email routing

mail.google.com

TXT

Text Record

Verification

SPF / DKIM

NS

Name Server

DNS authority

ns1.host.com

Leave a Reply

Your email address will not be published. Required fields are marked *