machine readable dns zone file

DNS zone API – explained

Within WhoAPI there is a particular API called Domain DNS zone (discontinued in 2022), that I would like to cover today.

Let’s dissect the phrase DNS zone API and cover the basics. A lot of acronyms, so let’s start there.

DNS stands for Domain Name System, and API stands for Application Programming Interface. We are missing “zone”, which is essentially what it is, a zone of some sorts that in our case is available in a file.

At WhoAPI we are dealing with APIs first, and DNS second. Let’s first define what is an API.

What is an API?

Kin Lane described APIs beautifully when he wrote

API stands for application programming interface. APIs are the little pieces of code that make it possible for digital devices, software applications, and data servers to talk with each other.

Another example I like is when an operating system like Windows or MAC OSX receives a command from a text editor to print a document (using a printer), it communicates over an API to the printer. Similar to that, web APIs like WhoAPI work. Just a form of communication between two software or 2 servers.

Moving on to the other part of the definition of DNS Zone API – DNS or Domain name System. Basically, it’s a name that points to an IP address, a thin layer that covers a complex location like and turns it into something memorable a Technically, any name registered in the DNS is a domain name.

This brings us to the next one (and my personal favorite).

What is a DNS?

DNS – The Domain Name System is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates easily memorized domain names to the numerical IP addresses needed for the purpose of locating computer services and devices worldwide.

Now that we’ve covered DNS, we can move to the DNS zone.

DNS zone is a portion of a domain name space using the Domain Name System (DNS) for which administrative responsibility has been delegated.

Every domain name, which is a part of the DNS, has several DNS settings, also known as DNS records. In order for these DNS records to be kept in order, the DNS zone was created.

The DNS Zone file

The DNS Zone file is the representation of the DNS Zone – it is the actual file, which contains all the records for a specific domain. In a DNS Zone file, each line can hold only one record, and each DNS Zone file must start with the TTL (Time to Live), which specifies for how long the records should be kept in the DNS Server’s cache. The other mandatory record for a DNS Zone file is the SOA (Start of Authority) record – it specifies the primary authoritative name server for the DNS Zone. Source NTC Hosting.

In basic layman English, all this makes the entire Internet (web and email) work!

So, what is an API domain DNS zone and how do you use it? It lets you (or more accurately your software) access easily the information critical for web and email functionality. You have below what one of them looks like, one out of hundreds of millions.

API domain DNS zone - example return

API domain DNS zone – example return

Related Posts
What is a WHOIS API?

In case you were wondering what is a WHOIS API or WHOIS REST API, and what does it do, here’s Read more

How to check if a domain name is available or not?
WhoAPI news

I can't remember how many people told me that a certain domain is available for registration, and when I asked Read more

WhoAPI case study: Wikimedia
Wikimedia Foundation employee Oliver Keyes in March 2012.

Oliver Keyes is a programmer and Human-Computer Interaction researcher who works for the Wikimedia Foundation. He's also the author of Read more

39 reasons to signup on WhoAPI
WhoAPI API functions

If you ever wondered or missed the information on what exactly you can get by using WhoAPI, this is the Read more

New WhoAPI blog!
WhoAPI news

We are proud to introduce you with our new blog design. On this day, lets remind ourselves what Steve Jobs Read more

How to run away from Google’s blacklists

It became normal for Google to blacklist some websites. It happens on a daily basis due to hack attacks, malware, Read more

Founder and CEO of WhoAPI Inc. Goran Duskic is an internet entrepreneur since 2006. He co-founded and sold several online ventures, including a web hosting company.

Post a Comment