Hubbry Logo
search button
Sign in
LOC record
LOC record
Comunity Hub
History
arrow-down
starMore
arrow-down
bob

Bob

Have a question related to this hub?

bob

Alice

Got something to say related to this hub?
Share it here.

#general is a chat channel to discuss anything related to the hub.
Hubbry Logo
search button
Sign in
LOC record
Community hub for the Wikipedia article
logoWikipedian hub
Welcome to the community hub built on top of the LOC record Wikipedia article. Here, you can discuss, collect, and organize anything related to LOC record. The purpose of the hub is to connect people, fos...
Add your contribution
LOC record

In the Domain Name System, a LOC record (experimental RFC 1876)[1] is a means for expressing geographic location information for a domain name.

It contains WGS84 Latitude, Longitude and Altitude (ellipsoidal height) information together with host/subnet physical size and location accuracy. This information can be queried by other computers connected to the Internet.

Record format

[edit]

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

⟨owner⟩ ⟨TTL⟩ ⟨class⟩ LOC ( d1 [m1 [s1]] {"N"|"S"} d2 [m2 [s2]]
                           {"E"|"W"} alt["m"] [siz["m"] [hp["m"]
                           [vp["m"]]]] )

(The parentheses are used for multi-line data as specified in RFC 1035, section 5.1.)

where:

    d1:     [0 .. 90]            (degrees latitude)
    d2:     [0 .. 180]           (degrees longitude)
    m1, m2: [0 .. 59]            (minutes latitude/longitude)
    s1, s2: [0 .. 59.999]        (seconds latitude/longitude)
    alt:    [-100000.00 .. 42849672.95] BY .01 (altitude in meters)
    siz, hp, vp: [0 .. 90000000.00] (size/precision in meters)

An example DNS LOC resource record

[edit]
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

[edit]

The altitude range provides the following:

  • DNS altitude range [-100000.00 .. 42849672.95]. This range can be easily stored in 4 bytes.
  • Maximum altitude is 42,849.67295 km. Which is large enough to store the altitude of a circular geosynchronous orbit (i.e. approximately 35,790 km above mean sea level).
  • Maximum depth of 100 km below earth surface (approximated by the WGS84 reference ellipsoid).

See also

[edit]

References

[edit]