DNS · FORMERR

DNS Error Code FORMERR

The DNS server could not interpret the query.

warningLast verified 2026-11-08IANA DNS Parameters
Quick answer

The DNS server could not interpret the query.

CodeFORMERR
ProductDNS
Company / originIANA / IETF · International standard
CategoryProtocols & Standards
Platform / versionsRecursive and authoritative DNS servers · RFC 1035 and later
Severitywarning
Official sourceIANA DNS Parameters ↗
Last verified2026-11-08

What does DNS error FORMERR mean?

FORMERR means the query packet is malformed or uses a format the server cannot parse. It is usually a client, library, or middlebox problem rather than a domain configuration problem.

Common causes

  • A broken DNS client or library generated an invalid packet.
  • A middlebox modified the DNS packet incorrectly.
  • The query uses an unsupported format or malformed EDNS option.

How to fix it

  1. Step 1

    Retry with a standard DNS client such as dig or nslookup.

  2. Step 2

    Disable unusual EDNS options or middlebox DNS inspection.

  3. Step 3

    Update the client library or resolver if the problem is reproducible.

When to escalate

Before you escalate: If a DNS error persists across multiple resolvers, check the domain's authoritative nameservers and DNSSEC configuration. Contact the DNS provider or registrar with the queried name, record type, resolver IP, timestamp, and the exact response code.

Related codes

CodeNameWhat it means
BADVERSBADVERSThe server does not support the EDNS version used in the query.
NOTIMPNOTIMPThe DNS server does not implement the requested operation.
NODATANODATAThe name exists, but it has no record of the requested type.
NOTAUTHNot AuthoritativeThe DNS server is not authoritative for the zone in the query.
NXDOMAINNXDOMAINThe domain name does not exist.

Source & verification

This page was checked against IANA DNS Parameters on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.

Open Error Codes is independent and not affiliated with IANA / IETF. Always confirm destructive or security-sensitive steps with the official documentation.