Understanding DNS LOC Records: A Rarely Used DNS Feature for Specifying Physical Locations
By
mikejeays
Pure flour-power. Hearty enough to carry you through lunch.
Summary
The article discusses DNS LOC (location) records, a little-used type of DNS record that allows specifying physical locations. It explains that while CloudFlare handles millions of DNS records, only 743 are LOC records. The article provides technical background on DNS infrastructure, mentioning CloudFlare's custom authoritative DNS server called RRDNS written in Go, which helps them serve DNS requests quickly and handle attacks. It covers the history and complexity of DNS standards, and notes that despite being rarely used, LOC records can be set up in CloudFlare's DNS editor.
Key quotes
· 5 pulledOne little used type of DNS record is the LOC (or location). It allows you to specify a physical location.
CloudFlare handles millions of DNS records; of those just 743 are LOCs.
A cornerstone of CloudFlare's infrastructure is our ability to serve DNS requests quickly and handle DNS attacks.
Implementing an authoritative DNS server is a large task. That's in part because DNS is a very old standard (RFC 1035 dates to 1987).
Nevertheless, it's possible to set up a LOC record in the CloudFlare DNS editor.
You might also wanna read
DNS Resolution Failure: How a 1.1.1.1 Update Accidentally Broke CNAME Record Ordering
A technical incident analysis where a routine update to Cloudflare's 1.1.1.1 DNS resolver on January 8, 2026, accidentally altered the order
Technical Guide to .arpa Zone Delegation and ICMP Protocol Hacks
The article details the author's experience obtaining delegated control over their own ip6.arpa zone for their IPv6 range, which is typicall
Understanding DNS TXT Record Size Limits: UDP vs TCP Protocol Differences
This technical article explores the practical limits of DNS TXT records, explaining that while many sources incorrectly state a 255-byte lim
BGP Lab Project Expanded to Include Full IPv6 Feed
The author extends their BGP lab project to support full IPv6 feeds, following requests from readers who previously received IPv4 BGP feeds.
Whosthere: A Go-based LAN discovery tool with interactive TUI for unprivileged network scanning
Whosthere is a Go-based Local Area Network (LAN) discovery tool with an interactive Terminal User Interface (TUI). It performs unprivileged,
Investigating Intermittent ECONNRESET Errors in Local TCP Connections (Part 1)
A technical blog post investigating mysterious ECONNRESET errors occurring between two services communicating over TCP on the same machine.
