1.1.1.1

Also known as: Cloudflare DNS

On this page 7

1.1.1.1, also known as Cloudflare DNS, is a free public recursive DNS resolver operated by Cloudflare that answers domain name queries from any device on the Internet. Launched in April 2018, it is reached at the memorable IPv4 addresses 1.1.1.1 and 1.0.0.1 and is designed around speed, privacy and encrypted transport.

Within DNS, 1.1.1.1 plays the role of a recursive resolver: it does not host domain zones itself but walks the hierarchy from the root name servers to the authoritative servers, caches the results and returns the answer to the client’s stub resolver.

How 1.1.1.1 resolves queries

1.1.1.1 resolves a query by checking its cache first and, on a miss, performing iterative resolution against root, top-level domain and authoritative name servers. The answer is stored for the duration of its time to live (TTL), so later clients receive it in a few milliseconds.

The service runs on anycast routing: the same addresses are announced from Cloudflare data centers in hundreds of cities, and the Internet’s routing system delivers each packet to a nearby location. This design shortens the round trip and absorbs traffic spikes and denial-of-service attacks across the whole network.

The address block 1.1.1.0/24 belongs to the regional registry APNIC, which made it available under a research partnership with Cloudflare. Before 2018, the block attracted enormous volumes of misdirected traffic because many networks had used it as a placeholder address.

Addresses, protocols and service variants

The resolver exposes primary and secondary addresses for both IP versions, plus filtered variants for households and organizations. Configuring both addresses of a pair provides redundancy if one path is unreachable.

ServiceIPv4 addressesIPv6 addressesFiltering
Standard resolver1.1.1.1, 1.0.0.12606:4700:4700::1111, ::1001None
Malware blocking1.1.1.2, 1.0.0.22606:4700:4700::1112, ::1002Known malicious domains
Malware and adult content blocking1.1.1.3, 1.0.0.32606:4700:4700::1113, ::1003Malicious and adult domains
1.1.1.1 resolver addresses and filtering levels

Beyond classic DNS over UDP and TCP on port 53, the resolver supports encrypted transports that hide queries from on-path observers such as public Wi-Fi operators or access providers.

ProtocolPortEncryptionTypical client
Classic DNS53 UDP and TCPNoneOperating systems, routers
DNS over TLS (DoT)853 TCPTLSAndroid Private DNS, system resolvers
DNS over HTTPS (DoH)443 TCPHTTPSBrowsers, applications
Oblivious DoH443 TCP via proxyHTTPS with relayPrivacy-focused clients
Transport protocols supported by 1.1.1.1

Privacy and security features

Cloudflare positions 1.1.1.1 as a privacy-first resolver. Its published policy states that client IP addresses are not written to persistent storage, that limited query logs are deleted within 24 hours and that query data is not sold or used for ad targeting; independent auditors have reviewed these commitments.

  • DNSSEC validation rejects answers whose signatures fail, protecting against cache poisoning.
  • QNAME minimization sends upstream servers only the part of the name they need to know.
  • No EDNS Client Subnet is forwarded, so authoritative servers do not learn the client network.
  • Encrypted transports prevent local networks from reading or altering queries in transit.

These measures protect the path and the logs, but they do not make the user anonymous. The resolver operator still sees each query while answering it, so choosing any public resolver means shifting trust from the access provider to that operator.

1.1.1.1 compared with other public resolvers

1.1.1.1 belongs to a small group of large anycast public resolvers that differ mainly in policy rather than core function. The comparison below covers the most widely used alternatives.

ResolverPrimary IPv4Distinguishing focusClient subnet
1.1.1.11.1.1.1Speed and minimal loggingNot sent
Google Public DNS8.8.8.8Scale and standards complianceSent selectively
Quad99.9.9.9Threat blocking by default, nonprofitNot sent on main service
ISP resolverAssigned by DHCPLocal proximity, network integrationVaries
Major public DNS resolvers

Measured latency depends heavily on location and the access network, so rankings change from one region to another. Omitting client subnet data improves privacy but can occasionally lead a content delivery network to choose a less optimal server for the user.

Configuration and common problems

Using 1.1.1.1 means entering its addresses in the operating system, router or application settings, or enabling DoH in a browser. Configuring the router changes resolution for every device on the network, while device-level settings follow a laptop or phone across networks.

SymptomLikely causeFix
1.1.1.1 unreachableRouter or network misuses the address internallyUse 1.0.0.1 or IPv6 addresses, update firmware
Internal hostnames failSplit-horizon names exist only on local DNSKeep the internal resolver for corporate domains
Settings ignoredDevice or browser uses its own DoHAlign browser and system settings
Blocked site expected but loadsStandard resolver applies no filteringSwitch to 1.1.1.2 or 1.1.1.3
Typical problems and fixes

A common misconception is that changing the resolver speeds up downloads. It only shortens the name lookup step, which is typically tens of milliseconds, and cached answers make the difference even smaller for frequently visited sites.

Administrators should also remember that encrypted DNS can bypass local policy. When a browser sends DoH queries directly to 1.1.1.1, a corporate resolver that enforces filtering or resolves internal names is skipped entirely. Managed environments therefore either disable browser DoH through enterprise policies or run their own encrypted resolver, and they test failover behavior so that clients fall back gracefully when the public service cannot be reached.

Understanding it simply

Every time you type a website name, your device must find the numeric address of that site. It is much like checking a phone book. 1.1.1.1 is a free, public phone book service run by Cloudflare. Anyone can choose to use it.

Many people pick it because it answers quickly. It also promises not to keep a detailed record of your lookups. It can scramble the questions your device asks, too. Then the café Wi-Fi cannot easily see which sites you visit.

Applied in practice

A small accounting office with 15 employees notices that web pages sometimes stall for a second before loading and that the access provider’s resolver occasionally fails. The office administrator sets the router to hand out 1.1.1.2 and 1.0.0.2 as DNS servers, which adds malware blocking, and keeps the local server as the resolver for the internal domain used by the file server.

Laptops that staff take home are configured with DNS over HTTPS in the browser, so lookups stay encrypted on hotel and café networks. After the change, lookup failures disappear from the help desk log, and two phishing links clicked in emails are blocked at the DNS stage before any page loads.