IPv4 offers only about 4.3 billion addresses, and nearly all of them have been handed out. IPv6 provides 2^128 addresses, enough to give every device its own public address without workarounds like NAT, which makes many devices share one IP address.
How an address is written
An address has 8 groups of 4 hexadecimal digits (0-9 and a-f), separated by :. Two rules shorten it:
- Drop leading zeros in each group, so
0db8becomesdb8. - Replace one run of all-zero groups with
::, only once per address.
| Form | Example |
|---|---|
| Full address | 2001:0db8:0000:0000:0000:0000:0000:0001 |
| Same address, shortened | 2001:db8::1 |
The machine itself (like 127.0.0.1) |
::1 |
IPv4 vs IPv6
| IPv4 | IPv6 | |
|---|---|---|
| Length | 32 bits | 128 bits |
| Example | 203.0.113.10 |
2001:db8::10 |
| DNS record | A | AAAA |
| NAT | Widespread due to scarcity | Usually unnecessary |
How the browser chooses
When a domain has both an A and an AAAA record, the browser usually tries IPv6 first if your network supports it, and falls back to IPv4 automatically if the connection is slow or fails. Running both side by side is called dual stack.
Common problems
- A stale or wrong AAAA record: the site opens for some people and not others, because IPv6 users are sent to an address that doesn’t answer. Remove the record if the server doesn’t accept IPv6.
- Allow lists: if you allowed only your IPv4 address in a firewall or panel, your device may connect over IPv6 and get rejected.
- Addresses in URLs: wrap them in square brackets, as in
http://[2001:db8::1]/.
On ArabyHost
When you use the ns1.arabicode.com and ns2.arabicode.com nameservers, your site’s essential records are created automatically, so visitors reach it through the A record from any IPv4 or dual-stack network. You can check the A and AAAA records of any domain with the DNS lookup tool, and if you need IPv6 for a specific use, contact support to find out what’s available for your account.
FAQ
Does my website need an IPv6 address?
It isn't required for the site to load: today's networks run both protocols and visitors can reach sites over IPv4. IPv6 is a bonus, not a requirement.
Is IPv6 faster than IPv4?
Not necessarily. Speed depends on the route between visitor and server more than on the protocol version; IPv6 can be slightly faster on some networks because it skips NAT.
How do I know whether my device uses IPv6?
Open an IPv6 test site or run `curl -6 https://example.com`. If the connection fails, your network or ISP doesn't support IPv6 yet.