Era Host hosting
EraHost – Free Domain, Cheap Hosting!
Client Area
Support 24/7
Menu

Error: Type=AAAA Host Not Found — Troubleshooting Guide

3 min read
19.04.2026

The error "Type=AAAA Host Not Found" occurs when a DNS query for an IPv6 address (AAAA record) fails. This typically happens when the domain does not have an AAAA (IPv6) record, or the DNS server is misconfigured.

Type=AAAA Host Not Found Error
AAAA-not-found — usually benign; add AAAA record only if dual-stack.

For broader DNS / EAI_NONAME context, see Fix "EAI_NONAME" — Complete DNS Resolution Guide, NS Hosting — Overview and Management, and DNS Server Host — Custom DNS Configurations.

What Does This Error Mean?

  • AAAA Record Missing: The domain does not have an IPv6 address configured.
  • DNS Resolution Issue: The authoritative name servers cannot find an AAAA record for the requested domain.
  • IPv6 Not Supported: The hosting provider or server does not support IPv6.

How to Fix the Type=AAAA Host Not Found Error

Check If the Domain Has an AAAA Record

  1. Use an online DNS checker:
  2. Use command-line tools:
    Linux/macOS:
    dig AAAA yourdomain.com
    Windows (Command Prompt):
    nslookup -type=AAAA yourdomain.com
    Note: If no AAAA record is found, you need to add one or configure your system to use IPv4 (A record) instead.
Linux VDS
High performance for your projects
  • Root access and flexible setup
  • Control panel
  • NVMe disks
  • DDR5
Linux VDS

Add an AAAA Record to Your DNS

If your domain lacks an AAAA record, follow these steps:

  1. Log in to your DNS provider?s control panel (e.g., Cloudflare, cPanel, ISPmanager).
  2. Navigate to DNS Settings or Zone Editor.
  3. Click Add Record and select AAAA (IPv6 Address).
  4. Enter:
    • Host: @ (or yourdomain.com)
    • IPv6 Address: Your server?s IPv6 (e.g., 2001:db8::1).
  5. Save changes and wait for DNS propagation (up to 24 hours).

Verify IPv6 Support on Your Server

  1. Check if the server has an IPv6 address assigned:
    ip -6 addr show
  2. If IPv6 is missing, request an IPv6 from your hosting provider.

Use an A Record Instead of AAAA (If IPv6 Is Not Needed)

If your server only has an IPv4 address, remove the AAAA query and use an A record instead:

  1. Delete the AAAA record from DNS settings.
  2. Ensure an A record (IPv4) exists:
    yourdomain.com > 192.168.1.1
  3. Flush DNS cache:
    Windows:
    ipconfig /flushdns
    Linux/macOS:
    sudo systemctl restart nscd

Quick Decision Guide:

? If your server supports IPv6 > Add an AAAA record.

? If you only use IPv4 > Use an A record instead.

? Always verify DNS settings and server configuration.

Conclusion

The "Type=AAAA Host Not Found" error is a DNS-related issue indicating a missing IPv6 record. By checking for an existing AAAA record, adding one if necessary, or falling back to an IPv4 A record, you can resolve this error and ensure proper domain resolution.

Frequently asked questions
Only if your server actually has IPv6. Adding AAAA pointing to a fake IPv6 address breaks dual-stack clients (they prefer IPv6, get blackholed). If server is IPv4-only, leave AAAA absent — the error log spam is the right answer; clients fall back to IPv4 in milliseconds (happy eyeballs).
Postfix: `inet_protocols = ipv4` in main.cf — stops DNS AAAA lookups entirely. Exim: `dns_search_parents = false` plus various ipv6 toggles. For app-level (curl, Python), some support AI_ADDRCONFIG which skips AAAA when no IPv6 interface. Don't silence at log level; fix at resolver level.
Possibly negative cache from before AAAA was added. NXDOMAIN cached up to 1 hour at most resolvers. Flush local resolver, or wait. `dig +short AAAA hostname @1.1.1.1` to verify the record propagated. If 1.1.1.1 sees the AAAA but your resolver doesn't, your resolver is stale.
Test AAAA endpoints from both IPv4-only and IPv6-only environments. Some load balancers serve IPv6 traffic differently from IPv4. Mismatched configs cause hard-to-diagnose intermittent issues. Roll out AAAA in phases: enable on one host, monitor, expand. Don't dual-stack everything in one deploy.
Related articles
Unable to Resolve Target System Name Error
Fix "EAI_NONAME" Error — Complete DNS Resolution Guide
Fix "ssh_init: host not found" Error in SSH