---
title: "Be reachable over IPv6 · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/hosting-and-network/ipv6
updated: 2026-10-20
licence: "All rights reserved"
---

# Be reachable over IPv6

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Recommended
- Chapter: [Hosting and network](https://agentwranglers.se/playbook/website/hosting-and-network)
- Rule: Make the site and its DNS reachable over IPv6 with AAAA records, as well as over IPv4.
- How: Turn on IPv6 on the server and listen on `[::]:443` and `[::]:80`. Add AAAA records for the site and its name servers.
- Check: `curl -6 -sI https://example.com/` answers like `curl -4`. internet.nl reports IPv6 for the site and its name servers.

Example:

```nginx
server {
  listen 443 ssl;
  listen [::]:443 ssl;
  server_name example.com;
}
```

```text
example.com.  3600  IN  A     203.0.113.10
example.com.  3600  IN  AAAA  2001:db8::10
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/hosting-and-network/ipv6`.

- Previous: [Use TLSA records only where checked](https://agentwranglers.se/playbook/website/hosting-and-network/dane)
- Next: [Keep the domain name yours](https://agentwranglers.se/playbook/website/hosting-and-network/domain-renewal)
- [Hosting and network](https://agentwranglers.se/playbook/website/hosting-and-network)
