# Cloudflare Error 1034: Edge IP Restricted

**Code:** `1034` · **Category:** Cloudflare · **Seen on:** Cloudflare

The DNS record points to a Cloudflare IP not assigned to your zone — typically an A record pointing to an old Cloudflare IP or another account’s address.

## Meaning

Cloudflare restricts which edge IPs serve which zones. Hard-coded Cloudflare IPs (in DNS at another provider or hosts files) stop working when assignments change.

## Common causes

- Hard-coded Cloudflare IP in DNS at another provider
- Hosts file with a Cloudflare IP
- Partial (CNAME) setup pointing at wrong IPs

## Quick fix

1. Use the hostnames/CNAMEs Cloudflare provides instead of IPs
2. Remove hosts file entries
3. Update DNS at the external provider

## Detailed fix by platform

### Shell

1. 

```bash
dig +short example.com
grep example.com /etc/hosts
```


## How to diagnose

1. **DNS** — Where is the IP coming from?
2. **Setup** — Full or partial (CNAME) setup?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/cloudflare/1034-edge-ip-restricted)
