LOC Record
ActiveThe LOC (Location) record stores the geographic location of a host – latitude, longitude, altitude, and the accuracy of the measurement.
In one line
The LOC (Location) record stores the geographic location of a host – latitude, longitude, altitude, and the accuracy of the measurement. Originally intended to build a global DNS-based geolocation service, LOC records are rarely used in practice but appear in some network infrastructure documentation and academic DNS datasets.
Description
LOC records (RFC 1876) encode coordinates in degrees/minutes/seconds with altitude in centimeters and horizontal/vertical accuracy. The format was designed to be machine-readable for geographic routing decisions. In practice, IP-based geolocation services (MaxMind, IP-API) replaced DNS LOC records for most use cases. LOC records are still occasionally used in NOC documentation and some academic DNS experiments.
Examples
example.com. 3600 IN LOC 51 30 0.000 N 0 7 34.000 W 10.00m 100m 100m 100m
# ^ London coordinatesdig example.com LOC