HTTPError.net

The fastest way to diagnose, understand, and fix any HTTP status code

530 Origin DNS Error

Fault: Server
TL;DR

A Cloudflare-specific code shown with a paired 1xxx error code; most often the origin hostname could not be resolved.

Cloudflare returns 530 alongside a 1xxx error, usually an origin DNS resolution failure.

What HTTP 530 Origin DNS Error Means

Cloudflare returns 530 alongside a 1xxx error, usually an origin DNS resolution failure.

A Cloudflare-specific code shown with a paired 1xxx error code; most often the origin hostname could not be resolved.

Common Causes

How to Fix It (For Visitors)

How to Fix It (For Developers/Admins)

Returning a 530 Origin DNS Error (Code Examples)

If you build APIs or web apps, here is how to send an HTTP 530 response and how to test for it:

Node.js (Express)

app.get('/resource', (req, res) => {
  res.status(530).json({ error: 'Origin DNS Error' });
});

Python (Flask)

@app.route('/resource')
def resource():
    return jsonify(error='Origin DNS Error'), 530

PHP

<?php
http_response_code(530);
header('Content-Type: application/json');
echo json_encode(['error' => 'Origin DNS Error']);

Check the status with curl

curl -I https://example.com/resource
# Look for: HTTP/1.1 530 Origin DNS Error

Frequently Asked Questions

What does HTTP 530 Origin DNS Error mean?

A Cloudflare-specific code shown with a paired 1xxx error code; most often the origin hostname could not be resolved. In short: Cloudflare returns 530 alongside a 1xxx error, usually an origin DNS resolution failure.

Is a 530 Origin DNS Error error my fault or the website's?

530 is a 5xx server-error code, so the problem is on the server side, not your browser or device. As a visitor you can usually only retry; if you run the site, investigate the server.

How do I fix a 530 Origin DNS Error error?

Check the paired 1xxx code in the error page for specifics. Fix the origin DNS / CNAME setup. Review Cloudflare Workers for unhandled errors.

Official Specification

The 530 Origin DNS Error status code is defined in Cloudflare (non-standard).

View the IANA HTTP Status Code Registry →