LOC record


In the Domain Name System, a LOC record is a means for expressing geographic location information for a domain name.
It contains WGS84 Latitude, Longitude and Altitude information together with host/subnet physical size and location accuracy. This information can be queried by other computers connected to the Internet.

Record format

The LOC record is expressed in a master file in the following format:

LOC

where:

d1:
d2:
m1, m2:
s1, s2:
alt: BY.01
siz, hp, vp:

An example DNS LOC resource record


LOC record statdns.net. IN LOC 52 22 23.000 N 4 53 32.000 E -2.00m 0.00m 10000m 10m

Altitude for Geosynchronous Earth Satellites

The altitude range provides the following:
You can look up the LOC record for any UK postcode, e.g.:
$ dig loc SW1A2AA.find.me.uk
SW1A2AA.find.me.uk. 2592000 IN LOC 51 30 12.748 N 0 7 39.612 W 0.00