Every D4 VPS includes a routed /64 IPv6 block, and only the first address is in use when the server arrives. This guide shows how to use more addresses from your block, for example one address per website or a separate address for outgoing mail.
1. Find your block
Open your service in the client area and click Log In To Panel under Service actions. On the server's Networking tab, your IPv6 block is listed as a /64, for example 2001:db8:1:2::/64. The first address (::1) is already configured on the server. Every other address in the block is free for you to use.
2. Add an address and test it
Pick any address from your block and add it to the network interface. This change is temporary and disappears at reboot; we make it permanent in the next step.
$ sudo ip addr add 2001:db8:1:2::25/64 dev eth0Then test it from your own computer:
$ ping -6 -c 3 2001:db8:1:2::25If the ping works, the address is live.
3. Make it permanent
How you save the address depends on the OS family.
On Ubuntu, create a small extra netplan file, then apply it:
network:
version: 2
ethernets:
eth0:
addresses:
- 2001:db8:1:2::25/64$ sudo netplan applyOn RHEL-based systems, add the address to the NetworkManager connection. First find the connection name, then add the address and reload:
$ nmcli -f NAME,DEVICE con show $ sudo nmcli con mod "YOUR-CONNECTION" +ipv6.addresses 2001:db8:1:2::25/64 $ sudo nmcli con up "YOUR-CONNECTION"
On Debian, cloud images use ifupdown. Create a small extra file with one more stanza for the interface; the address you added in step 2 then survives the next reboot:
iface eth0 inet6 static
address 2001:db8:1:2::25/64Reboot once and run ip a to check that the address is still there.
4. Set reverse DNS for the new address
On the Networking tab, open your /64 row and click the plus button. Enter the new address and its hostname, then save. Our reverse DNS guide covers this in detail, including the matching forward records.
5. Put the addresses to work
Give each website its own address with its own AAAA record, and bind the web server to it:
listen [2001:db8:1:2::25]:443 ssl;
A mail server can send from its own dedicated address, with reverse DNS set on exactly that address. Containers and VMs inside your VPS can also each get their own address from the block.
The whole block is yours
A /64 holds more addresses than you will ever need, and there is no charge for using them. Pick addresses you can remember, like ::25 for the mail server or ::80 for the web server.
Quick reference
| Task | Command or place |
|---|---|
| See your block | Networking tab in the control panel |
| Add an address now | ip addr add ADDR/64 dev eth0 |
| Test it | ping -6 ADDR from your machine |
| Keep it after reboot | netplan file, or nmcli con mod |
| Reverse DNS | Plus button on the /64 row |
Where to go next
Add AAAA records for the services you host, and set reverse DNS on every address you use for mail. If you have not read it yet, our reverse DNS guide explains the full forward and reverse setup.