Skip to content

How to Test a DNS AAAA Record with an IPv6 Proxy

Publishing an AAAA record is only half the job. Learn how to verify it with dig and curl, and how to confirm from another network that your site answers over IPv6.

9 min readUpdated Nov 13, 2026By XPASS Editorial Team

How to Test a DNS AAAA Record with an IPv6 Proxy

When you add IPv6 support to a website, the AAAA record is the piece of DNS that tells visitors where to find it. It is also easy to get subtly wrong. The record might be missing for a subdomain, point to an address where nothing listens, or work from your office network but not from outside. Testing only from your own computer rarely shows these problems, because your own network, resolver and operating system can hide them.

This guide shows how to test a AAAA record in layers: first that the record exists and returns what you expect, then that the address answers real traffic, and finally that a visitor on another network, reached through an IPv6 Proxy, sees the same thing. It is written for people who test their own domains and services, or domains they are authorised to check, and who use proxies lawfully.

What an AAAA record is

DNS maps names to data. The basics are in RFC 1034 and RFC 1035. An A record holds an IPv4 address, and a AAAA record (pronounced "quad-A") holds an IPv6 address, which is four times longer, hence the name. The IPv6 protocol itself is described in RFC 8200.

A few facts that matter when testing:

  • A hostname can have A records, AAAA records, both or neither.
  • A hostname can have several AAAA records, and resolvers may return them in different orders.
  • A CNAME at a hostname redirects the whole lookup, so the AAAA record is then looked up at the target name.
  • Each record has a TTL (time to live) in seconds, which controls how long resolvers may cache it.
  • Clients that support both families usually try IPv6 first and fall back to IPv4 when it fails. That fallback can hide a broken AAAA record for ordinary visitors, but it will show up in an IPv6-only test.

Layer 1: Does the record exist and look right?

Use dig (or nslookup on Windows) to query the record.

dig AAAA www.example.com +short
dig AAAA www.example.com

The short form prints just the addresses. The full form shows the answer section, the TTL and which server answered. Check these points:

  1. The answer contains the IPv6 address you expect. Compare it character by character with your hosting or server configuration.
  2. The status is NOERROR and the answer section is not empty. NOERROR with an empty answer means the name exists but has no AAAA record. NXDOMAIN means the name itself does not exist.
  3. The TTL is what you set. A long TTL means changes will take longer to spread.
  4. Every hostname your pages use is covered, not just the main one. Images, scripts, APIs and login pages often live on subdomains.

You can ask a specific resolver to avoid local caching effects:

dig AAAA www.example.com @1.1.1.1
dig AAAA www.example.com @8.8.8.8

To query the domain's authoritative name servers directly, find them with dig NS example.com +short and then repeat the AAAA query against one of them using @ns-name. If authoritative servers return the new record but public resolvers still return the old answer, you are waiting for caches to expire.

Layer 2: Does the address actually serve traffic?

DNS only publishes an address. It does not prove that a server is listening on it. Test from a machine that has working IPv6:

curl -6 -I https://www.example.com/

The -6 option forces IPv6. Interpret the result:

  • A normal HTTP response means the web server answers over IPv6.
  • "Connection refused" suggests nothing listens on that address and port.
  • A timeout often points to a firewall, a missing route or an address that is not assigned to the server.
  • A certificate error means the server answered, but the TLS certificate or the virtual host configuration for IPv6 does not match your hostname.
  • A response with different content from the IPv4 site suggests the IPv6 address reaches a different server or an old default site.

Common server-side causes: the web server is bound to IPv4 only; the firewall has IPv4 rules but no IPv6 rules; the hosting provider assigned the address to a different interface; or a load balancer has no IPv6 listener.

Layer 3: Test from another network through an IPv6 Proxy

Your own computer is a single vantage point. Your network may not support IPv6 at all, or your router and operating system may treat it specially. To see what an outside visitor with IPv6 would experience, run the same tests through a proxy that exits over IPv6. If you have not set up a proxy in your tools yet, see setting up an IPv6 Proxy on testing tools first.

With curl and an HTTP proxy:

curl -v -x "http://[2001:db8::1]:8080" --proxy-user "myuser:mypassword" -I https://www.example.com/

With a SOCKS5 proxy that resolves the name itself:

curl -v --socks5-hostname "[2001:db8::1]:1080" --proxy-user "myuser:mypassword" -I https://www.example.com/

Because the proxy resolves the hostname, this test exercises the proxy's resolver and its IPv6 path to your server. If the proxy exit only has IPv6, a success here means a real IPv6-only visitor can reach your site. A failure that does not appear in Layer 2 suggests a routing, firewall or resolver difference between your network and the proxy's.

To confirm that the connection really used IPv6, add -w "%{remote_ip}\n" -o /dev/null -s to curl, which prints the address of the host curl connected to. When using a proxy, curl reports the proxy address; for the destination's address, read the verbose log of the CONNECT step or ask your own server to log the client and server address on its side.

A worked example

You moved your company site to a new host that supports IPv6 and added a AAAA record for www.example.com.

  1. dig AAAA www.example.com +short returns 2001:db8:10::25. It matches the host's control panel. Good.
  2. dig AAAA static.example.com +short returns nothing. You forgot the subdomain that serves images. You add the record.
  3. From your laptop, curl -6 -I https://www.example.com/ times out, but your laptop has no IPv6, so this tells you nothing yet.
  4. From a server with IPv6, the same command returns a certificate error. The IPv6 virtual host on the server uses a default certificate. You fix the server's IPv6 listener to serve the correct certificate.
  5. Through the IPv6 Proxy, curl -I now returns a normal response, and the static hostname also works.
  6. You repeat the checks after the TTL has expired to confirm that caches have refreshed.

Each layer found a different problem. Without the third layer, you would not have known whether an outside IPv6-only visitor could reach you.

Reading a failure in the right order

When a test fails, resist the urge to change several things at once. Work from the bottom of the stack upward, and stop at the first layer that disagrees with your expectation.

  1. If dig returns no AAAA answer, nothing below it matters yet. Fix the record, then wait for the TTL.
  2. If the record is right but curl -6 from an IPv6 host fails, the problem is on the server side: binding, firewall, interface or certificate.
  3. If both pass but the proxy test fails, compare the path. The proxy's network may be blocked by a firewall rule that allows only certain ranges, or its resolver may still hold an old answer.
  4. If only some hostnames fail, check for a CNAME chain that ends at a name without a AAAA record.

Keep a short log with the time, the command, the resolver and the result. A log turns a vague complaint such as "IPv6 seems broken" into a specific, repeatable observation that you can hand to a hosting provider.

A pre-launch checklist

  • Every hostname in the page source has a AAAA record, or you have decided on purpose that it will not.
  • The TTL was lowered before the change and raised again afterwards.
  • The server, load balancer and firewall all listen on the IPv6 address.
  • The certificate covers every hostname served over IPv6.
  • Two public resolvers and one authoritative server give the same answer.
  • One proxy-based test succeeded, and its date is in your notes.

Common mistakes and what they look like

Problem Typical symptom How to confirm
No AAAA record for a subdomain Page loads but images or API calls fail for IPv6 users dig AAAA on each hostname the page uses
AAAA points to the wrong address Wrong site or a connection error Compare with the server's configured IPv6 address
Server not listening on IPv6 Connection refused curl -6 from a host with IPv6
Firewall blocks IPv6 only Timeout over IPv6, fine over IPv4 Compare curl -6 and curl -4
Certificate mismatch on IPv6 TLS error only on IPv6 curl -6 -v and inspect the certificate
Stale cache Old answer from some resolvers Compare answers across resolvers and wait out the TTL
Testing only from a network without IPv6 Misleading results Repeat through a proxy or host with IPv6

One more habit saves time: change only one thing between tests, and note which one. If you edit the record and the server firewall in the same hour, you will not know which change fixed the problem, and you will not know what to undo if something else breaks.

Limits and what to watch for

A AAAA test is a snapshot, and it has limits.

  • One vantage point is not the whole internet. Routing differs between networks, so a result from one proxy exit does not prove that every IPv6 visitor can reach you. Test from more than one place if the stakes are high.
  • Proxy plans differ. Whether a proxy exits over IPv6, which protocols it supports and how usage is counted are described on the product page. If you plan to run many scheduled checks, read how usage is measured; the article on IPv6 Proxy pricing models by IP or bandwidth explains the difference in general terms.
  • Test only what you own or are authorised to check. Querying DNS is generally harmless, but sending many requests to someone else's server through a proxy is a different matter. Respect each site's terms and see the limits described in IPv6 Proxy limits for public data collection.
  • Keep your tests modest. A few requests are enough to prove a record works. Avoid loops that hammer a server.
  • Remember caching. Browsers, operating systems and resolvers all cache. When you change a record, wait for the TTL and flush local caches before you retest.

Summary

Testing an AAAA record has three layers. First, confirm with dig that the record exists for every hostname you use and that it returns the right address and TTL. Second, confirm with curl -6 from an IPv6-capable host that the server really answers on that address, with the correct certificate and content. Third, repeat the test from another network through an IPv6 Proxy to see what an outside IPv6 visitor experiences. Each layer finds different faults, from missing subdomain records to firewalls and certificates that work only over IPv4. Keep tests small, lawful and limited to services you are authorised to check.

If you would like to run these checks from an IPv6 vantage point, the proxy page describes the options and what each one includes.

Frequently asked questions

What is an AAAA record?

An AAAA record is a DNS record type that maps a hostname to an IPv6 address. It plays the same role for IPv6 that an A record plays for IPv4. A hostname can have both, one of them, or neither.

Is it enough that dig returns an AAAA record?

No. The record only proves that DNS publishes an address. You also need to confirm that a server actually listens on that address, that firewalls allow the traffic and that the web server answers correctly for your hostname.

Why test through an IPv6 Proxy instead of from my own computer?

Your own network may have no IPv6, or it may be treated specially, which hides problems. A proxy gives you a vantage point on another network, so you can see what an IPv6-only visitor would experience.

How long until a changed AAAA record is visible everywhere?

It depends on the TTL of the old record and on how resolvers cache answers. Check the TTL in the dig output and allow at least that long before you decide that a change has failed.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need a proxy for this?

XPASS Proxy sells residential proxy traffic by the gigabyte, with the price shown before you pay.

See proxy plans

Keep reading

Proxy Guides

Limits of an IPv6 Proxy for Collecting Public Website Data

An honest look at where an IPv6 Proxy helps and where it stops when you collect public web data: coverage, rate rules, terms, data quality and lawful use.

9 min read

Proxy Guides

IPv6 Proxy: Choosing Between Per-IP and Per-Bandwidth Billing

An IPv6 Proxy is usually billed per IP or per amount of traffic. This guide explains both models, shows how to estimate your needs and lists what to check first.

9 min read

Proxy Guides

How to Set Up an IPv6 Proxy on Common Testing Tools

A practical walkthrough for configuring an IPv6 Proxy in curl, Python, Playwright, Postman and a browser, and for checking that traffic really leaves through it.

9 min read