+1 vote
32 views
in Computers/Internet by (1.7k points)
How do Internet IP addresses actually work?

1 Answer

0 votes
by (690 points)
The way that internet IP addresses actually work is the IP address allows data packets to be sent from a source to a specific destination across the internet.

An IP address is a unique numerical label that is assigned to every device that is connected to the internet, including web servers, routers, modems, computers, tablets, smartphones et.

These devices that are connected to the internet use the Internet Protocol for communication and functions similarly to a digital mailing address.

IP addresses work through way of a unique identifier, data routing, two part structure and what's also known as the "Post Office" function.

Every device that connects to the internet requires an IP address to communicate on the internet.

And when you send information through the internet like clicking a link, downloading data, uploading data, watching a video, etc, the data is broken down into smaller packets.

And each of these packets has a header that contains the sender's and the receiver's IP addresses.

An IP address also consists of a network portion, which identifies the specific network and a host portion that identifies the specific device on that network.

Routers on the internet also inspect the destination IP in each packet and then use routing tables to forward those packets toward the correct network.

The types of IP addresses are public IP address, Private IP addresses and dynamic and static IP addresses.

Public IP addresses are IP addresses that are assigned to your internet router by your ISP or Internet Service Provider and it's unique across the entire internet and makes your network reachable from the outside.

Private IP addresses are assigned by your home or your office router to your individual devices within that local network.

And dynamic or DHCP IP addresses are assigned automatically and change periodically, which is also common for residential internet users.

Static IP addresses are manually assigned IP addresses and do not change, and is often used for servers, like in data centers or for businesses.

Domain names know what server to connect to through the use of the DNS or domain name system.

The DNS or domain name system is what acts like a phonebook for the internet, which translates human readable website names like mysite.com into machine readable IP addresses like 175.0.24.24 etc.

When you type the URL also known as the domain name into your browser or click on a URL or domain, a rapid and hierarchical lookup process occurs to be able find the correct web server and load the website that is connected to the URL.

The DNS Process for the domain names starts with a browser cache check, in which your computer and browser checks if it has recently visited the website.

And if your computer and browser or device has already visited the website, then it already knows the IP address of the website.

However if the IP address of the website is not cached in your browser, then your browser will query your ISPs or Internet Server Providers recursive resolver, which then acts as an intermediary search for the IP address of the server that the website is hosted on.

Next the resolver asks for a Root server, which is the top of the hierarchy to find the relevant Top Level Domain or TTLD server, like .com, .net etc.

Then the TLD or Top Level Domain finds the specific authoritative nameserver for that domain.

And the Authoritative Nameserver also holds the official A record or Address record and returns the definitive IP address for the domain name to the resolver.

And finally the resolver then delivers the IP address of the server for the website to your browser, which then connects directly to the web server.

The main and key components that route traffic for the domain to the website and IP address to the server are the A Record or address record that maps the domain to it's IPv4 address and is the most fundamental record.

The AAAA Record, is similar to the AI record, but is for IPv6 addresses.

The Name Servers or NS Record are records that indicate which DNS servers are authorized to provide the definitive mapping for the domain.

And Caching/Time to Live or TTL, which is when the DNS records are cached by your ISP or device for a specific time or TTL to speed up future connections to the website.

If a server happens to host multiple websites, then the web browser also uses HTTP protocol headers to tell the server which specific website the user is looking for, which also ensures that traffic reaches the correct application and not just the correct server.

570 questions

610 answers

16 comments

86 users

VekDrive.com Cloud Storage and File Sharing.

Get 5 GB Free Cloud Storage when you signup for a free account.

Or get 50 GB of Cloud Storage for $3.00 per month.

VekDrive Cloud Storage

...