DNS Record

The easiest way to retrieve DNS records using REST Api


The DNS or Domain Name System is a globally distributed directory that ‘resolves’ domain names into IP addresses. Just like a phone directory matches human names with phone numbers, the DNS links domain names to IP addresses of websites.

In other words, the Domain Name System (DNS) is the phonebook of the Internet. Humans access information online through domain names, like slashapi.com. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.

Getting Started

After you create an account and log in to the dashboard, choose DNS on the collections page. To make DNS API you just need to give a name for your API, click on the submit button and your API is ready.

API Endpoints

Get DNS records

Retrieve DNS records using REST Api.



You can use these parameters as query string parameter.

Parameter Description
url [required] The domain name/url of the website you want to retrieve the DNS records.


var axios = require('axios');

var config = {
    method: 'get',
    url: 'http://v1.slashapi.com/slashapi/dns/t4akQIzgDL?url=slashapi.com'

    .then(function (response) {
    .catch(function (error) {