What is a LOC record?

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.

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: 2023-08-09
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more