User Tools

Site Tools


api:dns:check

API : DNS Check

Introduction

This request will check the status of a domain.

Request

URL https://api.telecomx.dk/dns/DOMAIN/check
Method GET
Access level VIEWER, MANAGER or OWNER, RESELLER, ADMIN.
Param DOMAIN String Domain name.

Query example

GET https://api.telecomx.dk/dns/telecomx.dk/check

Response

JSON object
status String Status of domain:
OK - in use and working,
NOT_EXIST - domain name does not exist,
WRONG_NS - domain does not point to Telecom X name servers.

Example

{
  status: 'WRONG_NS'
}

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/dns/check.txt · Last modified: 2023/01/12 12:59 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki