Black Friday promo up to -50% Time left:

What is a LOC Record? Specify Geographic Location

LOC records allow you to specify a physical location for a domain name. It contains Latitude, Longitude and Altitude information as well as host/subnet physical size and location accuracy. This information can be queried by other computers connected to the Internet.

The LOC record has the following look in your DNS zone management page:

Host Type Points to: TTL
www.domain.com LOC 0 0 0 N 0 0 0 W 1 1 10000 10 1 Hour

Why is it important?

The LOC record is important for various reasons. For example, it can be necessary for legal and compliance purposes. It allows organizations to stick to data sovereignty regulations by ensuring that data is stored and processed in precise geographical regions. On the other hand, the record can assist in disaster recovery and network troubleshooting, as administrators can pinpoint the location of servers in the event of failures or performance issues.

How to create a DNS LOC record?

Log in to your ClouDNS account, enter your DNS zone management page, and click on the Add new record button. For Type choose "LOC" and type as follow:

  • Type: LOC
  • TTL: 1 hour
  • Host: www
  • Latitude
         Degrees: 0-90
         Minutes: 0-59
         Seconds: 0-59
         Direction: North or South

  • Longitude
         Degrees: 0-90
         Minutes: 0-59
         Seconds: 0-59
         Direction: West or East

  • Precision (in meters)
          Altitude: -100000.00 - 42849672.95
          Size: 0 - 90000000.00
          Horizontal: 0 - 90000000.00
          Vertical: 0 - 90000000.00


*This hostname is used as an example.

LOC record example

A DNS LOC record provides detailed geographical information about a domain. Let's break down an example to understand its components:

www.example.com LOC 37 47 0.0 N 122 25 0.0 W -15.00m 20m 10m 10m

This specifies that the host www.example.com is located at 37 degrees, 47 minutes North, and 122 degrees, 25 minutes West, with an altitude of -15 meters, a size of 20 meters, and both horizontal and vertical precisions of 10 meters.g

Let’s break it down in more details the components of the example: 

  • Host: www.example.com
  • Latitude: 37 47 0.0 N (37 degrees, 47 minutes North)
  • Longitude: 122 25 0.0 W (122 degrees, 25 minutes West)
  • Altitude: -15.00m (15 meters below sea level)
  • Size: 20m (sphere diameter of 20 meters)
  • Horizontal Precision: 10m (latitude/longitude accuracy within 10 meters)
  • Vertical Precision: 10m (altitude accuracy within 10 meters)

*This hostname is used as an example.

This record helps specify the exact physical location of the host www.example.com, providing valuable information for compliance, disaster recovery, and network optimization.

How to check the LOC record?

The LOC record type cannot be checked so easily in Windows because neither Nslookup nor Powershell's Resolve-DnsName has support for it. 

However, there is still a chance for you to install WSL (Windows Subsystem for Linux) and proceed by following the instructions below for Linux/macOS. Another alternative is to simply use an online lookup tool, such as the ClouDNS Free DNS tool, to check your LOC record.

In case you are a Linux/macOS user, you can open the Terminal and check your LOC record simply by using DIG. Here is an example:

$ dig example.com LOC

You can see the result in the answer section. There will be the LOC records that are available.

How to start managing LOC records for your domain name?

  1. Create a free account from, here - free forever
  2. Verify your e-mail address
  3. Log into your control panel
  4. Create a new Master DNS from the [add new] button - check a tutorial, here
  5. Add the LOC records you need, as it is described in this article.

Support of LOC records

ClouDNS provides full support for LOC records for all our DNS services, including the listed below. Just write to our technical support, if you need any assistance with your LOC records configuration. Our Technical Support team is online for you 24/7 via live chat and tickets.

FAQ

Question: Are LOC records used in conjunction with other DNS records?

Answer: Yes, LOC records can complement other DNS records like A and AAAA records, improving the overall functionality of a domain's DNS configuration.

Question: How frequently should LOC records be updated?

Answer: The frequency of updates depends on the rate of change in server locations. For static servers, updates may be infrequent, while dynamic environments require more regular updates.

Question: Are LOC records limited to specific industries?

Answer: While not limited to specific industries, LOC records find use in disaster recovery and any field where accurate location-based data is beneficial.


Last modified: 2024-09-24
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more