IP basics 7 articles
CIDR notation explained, with examples
What the slash number means, why a /24 holds 256 addresses, a table of common sizes, and IPv6 /48 and /64.
Read the article → 02 · 4 min readIPv4 vs IPv6: what is the difference?
Address size, notation, NAT and CGNAT, adoption today, and how to check which one you are using.
Read the article → 03 · 4 min readWhat is an IP address?
What the number is for, public vs private, static vs dynamic, who hands them out, and what an IP does and does not reveal.
Read the article → 04 · 4 min readWhat is IPv4?
32-bit addresses, dotted decimal, old classes and CIDR, the RFC 1918 private ranges, exhaustion, NAT and CGNAT.
Read the article → 05 · 4 min readWhat is IPv6?
128-bit addresses, hex notation and the :: rules, /64 subnets, SLAAC and privacy addresses, link-local and ULA ranges.
Read the article → 06 · 3 min readPublic vs private IP addresses
The RFC 1918 private ranges, how NAT links them to a public address, CGNAT, and how to find both of yours.
Read the article → 07 · 3 min readWhat is a subnet mask?
What 255.255.255.0 means, how a mask splits network and host, and a mask-to-CIDR conversion table.
Read the article →DNS & domains 3 articles
What is a domain name?
Labels, TLDs and second-level domains, registrars vs registries, ICANN, IDNs and punycode, domain vs hostname vs URL.
Read the article → 09 · 4 min readHow DNS works
Resolvers, root, TLD and authoritative servers, caching and TTL, and what A, AAAA, CNAME, MX, NS, TXT, SOA and CAA do.
Read the article → 10 · 4 min readReverse DNS and PTR records
PTR records, in-addr.arpa and ip6.arpa, forward-confirmed reverse DNS, email deliverability, and why many IPs have no name.
Read the article →Networks & routing 4 articles
What is an ASN (autonomous system number)?
Autonomous systems, BGP, who hands out ASNs, 16-bit vs 32-bit numbers, and how to look one up.
Read the article → 12 · 4 min readWhat is NAT and CGNAT?
How a router shares one public IPv4 address, port translation, carrier-grade NAT, its side effects, and how to tell if you are behind it.
Read the article → 13 · 4 min readWhat is BGP?
How networks announce prefixes, AS paths and route choice, peering vs transit, hijacks and leaks, and what RPKI does.
Read the article → 14 · 4 min readWhat is an ISP?
Residential, mobile, business and hosting providers, how ISPs connect to each other, and how the API shows connection type.
Read the article →Privacy & security 4 articles
How VPN and proxy detection works
Data-centre ranges, VPN and Tor exit lists, behaviour signals, false positives, and what each security field means.
Read the article → 16 · 4 min readWhat is a VPN and what does it hide?
The encrypted tunnel, what changes in an IP lookup, what a VPN does not hide, and DNS, IPv6 and WebRTC leaks.
Read the article → 17 · 4 min readProxies vs Tor: what is the difference?
HTTP, SOCKS and residential proxies, how Tor's three relays work, how each compares with a VPN, and how they are detected.
Read the article → 18 · 4 min readWhat is a WebRTC leak?
How WebRTC finds your addresses with STUN, why that can bypass a VPN, what browsers changed, and how to test and fix it.
Read the article →Geolocation 2 articles
How accurate is IP geolocation?
Country vs city accuracy, why mobile, CGNAT, VPN and satellite users are harder, and what it can never tell you.
Read the article → 20 · 4 min readWhat is IP geolocation and how is it built?
Where the data comes from: registries, ISP geofeeds, latency, hostnames and corrections, plus every location field the API returns.
Read the article →Put it into practice with the free API and tools: real-world scenarios with code, the full field reference, and lookups for IPs, DNS and networks.
[ Glossary ]
Quick definitions
- IP address
- A number that identifies a device or network interface so that data can be delivered to it. Read more about IP address →
- IPv4
- The original internet addressing system: 32-bit addresses written as four numbers, such as 192.0.2.1. Read more about IPv4 →
- IPv6
- The successor to IPv4: 128-bit addresses written in hexadecimal groups, such as 2001:db8::1. Read more about IPv6 →
- Private IP address
- An address from a reserved range such as 192.168.0.0/16 that works only inside a local network. Read more about Private IP address →
- CIDR
- A way to write an IP range as an address and prefix length, such as 203.0.113.0/24. Read more about CIDR →
- Subnet mask
- A dotted number such as 255.255.255.0 that marks the network part of an IPv4 address; the same as /24. Read more about Subnet mask →
- NAT
- Network address translation: a router lets many private devices share one public IPv4 address. Read more about NAT →
- CGNAT
- Carrier-grade NAT: an ISP shares public IPv4 addresses among many customers, using 100.64.0.0/10 internally. Read more about CGNAT →
- Domain name
- A human-readable name such as example.com that DNS maps to IP addresses. Read more about Domain name →
- DNS
- The Domain Name System, which turns names into IP addresses and other records. Read more about DNS →
- TTL
- Time to live: how many seconds a resolver may cache a DNS record before asking again. Read more about TTL →
- PTR record
- A reverse DNS record that maps an IP address back to a hostname. Read more about PTR record →
- ASN
- Autonomous system number: the number that identifies a network running its own internet routing. Read more about ASN →
- BGP
- Border Gateway Protocol: how networks announce their IP prefixes to each other and choose routes. Read more about BGP →
- RPKI
- A system of signed records stating which ASN may announce each IP prefix, used to reject hijacks. Read more about RPKI →
- ISP
- Internet service provider: the company that connects you to the internet and assigns your public IP. Read more about ISP →
- VPN
- An encrypted tunnel to a server whose IP address websites see instead of yours. Read more about VPN →
- Proxy
- A server that forwards requests for you, so websites see its IP address. Read more about Proxy →
- Tor
- A network that routes traffic through three volunteer relays so no single relay knows both ends. Read more about Tor →
- WebRTC leak
- When a browser reveals a hidden IP address while setting up a real-time connection. Read more about WebRTC leak →
- IP geolocation
- An estimate of where an IP address is used, built from registry, ISP and network data. Read more about IP geolocation →
- Geofeed
- A file in which a network lists the location of each of its IP prefixes (RFC 8805). Read more about Geofeed →
- Bogon
- An address that should never appear on the public internet, such as a private or reserved one. Read more about Bogon →
Last updated