LOC record: Difference between revisions

m 1 revision
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
LOC records allow [http://en.wikipedia.org/wiki/WGS84 WGS84 location] (see [http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350_2.html NIMA Technical Report TR8350.2, "Department of Defense World Geodetic System 1984, Its Definition and Relationships With Local Geodetic Systems", Third Edition] to be published via the Domain Name Service. They are defined in [http://tools.ietf.org/html/rfc1876 RFC 1876]. It is resource record (RR) type 29 (0x1D).
[[File:Cgps-2009-08-03.png|right|caption]]LOC records allow [http://en.wikipedia.org/wiki/WGS84 WGS84 location] (see [http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350_2.html NIMA Technical Report TR8350.2, "Department of Defense World Geodetic System 1984, Its Definition and Relationships With Local Geodetic Systems", Third Edition] to be published via the Domain Name Service. They are defined in [http://tools.ietf.org/html/rfc1876 RFC 1876]. It is resource record (RR) type 29 (0x1D).


The LOC record of a host can be looked up via <tt>dig -t loc</tt>:
The LOC record of a host can be looked up via <tt>dig -t loc</tt>:
Line 5: Line 5:
33 39 0.000 N 84 26 0.000 W 30.00m 1m 10000m 10m
33 39 0.000 N 84 26 0.000 W 30.00m 1m 10000m 10m
[recombinator](0) $ </pre>
[recombinator](0) $ </pre>
LOC records are expressed in terms of Degrees-Minutes-Seconds, not decimal, latitude and longitude. My [[Viewpoint|apartment]], for instance, is at 33.779N and 84.384W, translating to 33°46'44.4"N and 84°23'2.4"W:
<pre>[skynet](0) $ dig +short loc skynet.qemfd.net @ns1.domainmonger.com
33 46 44.400 N 84 23 2.400 W 300.00m 1m 10000m 10m
[skynet](0) $ </pre>
==See Also==
* FCC.gov's [http://transition.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html latitude and longitude converter].
[[CATEGORY: Networking]]