WAPI – WEDOS DNS

In questa paginadns-domains-listdns-domain-infodns-domain-adddns-domain-updatedns-domain-deletedns-domain-axfr-rundns-domain-axfr-tsigdns-domain-copydns-domain-commitdns-rows-listdns-row-detaildns-row-adddns-row-updatedns-row-delete

This article deals with WAPI commands specifically for the WEDOS DNS service. For information on how to set up WAPI and troubleshoot common issues, see the article WAPI – Manual.

This article provides information on the following requests:


dns-domains-list

Use the dns-domains-list request to list the user’s DNS domains.

Parameters

  • search – string to search for among domain names – optional
  • status – filter by status (active, disabled) – optional
  • type – filter by domain type (primary, secondary) – optional
  • page – page number (default: 1) – optional
  • page_limit – number of entries per page (default: 50) – optional
  • orderby – order entries by created_date or domain, followed by asc/desc – optional, see template

Return Values

  • 1000 – OK

Response Data

The request returns a list of domains using this template:

  • domain
    • name – domain name
    • status – domain status in the system
    • type – type (primary/secondary)

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domains-list",
"clTRID": "your ID",
"data": {
"search": "search term in domain name",
"status": "active|disabled",
"type": "primary|secondary",
"page": "page number",
"page_limit": "number of entries per page",
"orderby":"domain|created_date asc|desc"
}
}
}

JSON response (OK):

{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command": "dns-domains-list",
"data": {
"domain": [
{
"name": "domain1 name in DNS",
"type": "type (primary|secondary)",
"status": "active|disabled"
}
],
"total": "počet položek celkem",
"page": "číslo stránky",
"page_limit": "počet položek na stránku"
}
}
}

dns-domain-info

Use the dns-domain-info request to find basic information about one or more domains in the WEDOS DNS system (WDNS).

Parameters

  • name – domain name, for multiple domains use a comma-separated string (see template) – required

Return Values

  • 1000= OK
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido
  • 3222= apertura del dominio non riuscita
  • 3223= errore di autorizzazione
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato

The return value for multiple domains is always 1000. Any error values are displayed in the domain data, as shown in the template.

Return Data

If successful, the request returns the domain detail in WDNS in the data/domain node.

Templates

JSON request with 2 domains:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-info",
"clTRID": "your ID",
"data": {
"name": "domain.name1, domain.name2"
}
}
}

JSON response (domain.name1 OK, domain.name2 error):

{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command": "dns-domain-info",
"data": {
"domain": [{
"name": "domain.name1",
"status": "",
"type": "",
"tlock": "",
"autocommit": "",
"axfr_enabled": "outgoing axfr enabled? (0/1)",
"axfr_ips": "allowed axfr IPs list",
"changed": "",
"changed_date": "",
"commit_date": "",
"reload_pending": "",
"reload_pending_date": "",
"reload_date": "",
"disabled_date": "",
"enabled_date": "",
"add_date": "",
"rname": "",
"serial": "",
"refresh": "",
"retry": "",
"expire": "",
"minimum": "",
"rr_cnt6": "",
"ns_out": "",
"ns1": ""
},
{
"name": "domain.name2",
"code": 3222,
"result": "Domain open failed"
}]
}
}
}

dns-domain-add

Use the dns-domain-add request to add a new domain to DNS.

Parameters

  • name – domain name, or multiple comma-separated names (required)
  • type – domain record type (primary/secondary) – optional (default: primary)
  • axfr_enabled – is outgoing axfr enabled? (0/1) – primary domains only, optional (default: 0)
  • axfr_ips – list of enabled ip addresses for axfr (only for primary entry, enter multiple addresses as a space-separated list; required if axfr_enabled=1)
  • primary_ip – ip addresses of the primary dns server (required if type=secondary)
  • primary_tsig_enabled – is TSIG enabled? (0/1) – secondary domains only, optional
  • primary_tsig_name – TSIG idetifier – secondary domains only, required if TSIG enabled
  • primary_tsig_alg – TSIG algorithm – secondary domains only, required if TSIG enabled
  • primary_tsig_key – TSIG key – secondary domains only, required if TSIG enabled
  • template_id – ID of a template-type domain – primary domain only, optional

Return Values

  • 1000 = ok
  • 2007 = dimensione massima della richiesta superata
  • 2100 = parametro obbligatorio mancante
  • 2101= parametri di input non validi
  • 2201 = TLD non supportato
  • 2202 = nome di dominio non valido
  • 2301 = formato del tipo non valido
  • 2302 = parametro primary_ip mancante
  • 2303 = formato di primary_ip non valido
  • 2304 = formato di axfr_enabled non valido
  • 2305 = parametro obbligatorio axfr_ips mancante
  • 2306 = formato di axfr_ips non valido
  • 2308 = formato di ns non valido
  • 2322 = raggiunto il limite di domini nel DNS per utente
  • 2323 = template non trovato
  • 2324 = impossibile creare il dominio primario tramite template
  • 2325 = template non definito
  • 2330 = Richiesta non valida – dominio WDNS – TSIG primario – configurazione non valida
  • 2331 = Richiesta non valida – dominio WDNS – TSIG primario – formato del nome non valido
  • 2332 = Richiesta non valida – dominio WDNS – TSIG primario – formato dell’algoritmo non valido
  • 2333 = Richiesta non valida – dominio WDNS – TSIG primario – formato della chiave non valido
  • 2340 = superato il numero massimo di domini per singola azione
  • 3302 = aggiunta del dominio al DNS non riuscita
  • 3303 = il dominio esiste già nel DNS

Return Data

The request returns no data.

Templates

JSON request – primary domain:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-add",
"clTRID": "your ID",
"data": {
"name": "domain1.tld, domain2.tld",
"axfr_enabled": "0 or 1",
"axfr_ips": "allowed AXFR address(es)",
"template_id": "ID of domain records template"
}
}
}

JSON request – secondary domain:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-add",
"clTRID": "your ID",
"data": {
"name": "domain1.tld, domain2.tld",
"type": "secondary",
"primary_ip": "primary IP address",
"primary_tsig_enabled": "0 or 1",
"primary_tsig_name": "tsig_identifier",
"primary_tsig_alg": "hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384, hmac-sha512 or hmac-md5",
"primary_tsig_key": "TSIG_key_value"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-domain-add"
  }
}

JSON response for multiple domains:

{
"response":{
"code":1000,
"result":"OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command":"dns-domain-add",
"data": [
{
"code":1000,
"result":"OK",
"name":"domain1.tld",
"domain_id":"service ID"
},
{
"code":1000,
"result":"OK",
"name":"domain2.tld",
"domain_id":"service ID"
}
]
}
}

dns-domain-update

Use the dns-domain-update request to edit the domain in DNS.

Parameters

  • name – domain name, or multiple comma-separated names (required)
  • axfr_enabled – is outgoing axfr enabled? (0/1) – primary domains only, optional (default: 0)
  • axfr_ips – list of enabled ip addresses for axfr (only for primary entry, required if axfr_enabled=1)
  • ip – ip address for outgoing axfr
  • primary_ip – ip addresses of the primary dns server (required if type=secondary)
  • primary_tsig_enabled – is TSIG enabled? (0/1) – secondary domains only, optional
  • primary_tsig_name – TSIG idetifier – secondary domains only, required if TSIG enabled
  • primary_tsig_alg – TSIG algorithm – secondary domains only, required if TSIG enabled
  • primary_tsig_key – TSIG key – secondary domains only, required if TSIG enabled

Return Values

  • 1000 = ok
  • 2007= dimensione massima della richiesta superata
  • 2100 = parametro obbligatorio mancante
  • 2101= parametri di input non validi
  • 2201 = TLD non supportato
  • 2202 = nome di dominio non valido
  • 2302 = parametro primary_ip mancante
  • 2303 = formato di primary_ip non valido
  • 2304 = formato di axfr_enabled non valido
  • 2305 = parametro obbligatorio axfr_ips mancante
  • 2306 = formato di axfr_ips non valido
  • 2308 = formato di ns non valido
  • 2322 = raggiunto il limite di domini nel DNS per utente
  • 2330 = Richiesta non valida – dominio WDNS – TSIG primario – configurazione non valida
  • 2331 = Richiesta non valida – dominio WDNS – TSIG primario – formato del nome non valido
  • 2332 = Richiesta non valida – dominio WDNS – TSIG primario – formato dell’algoritmo non valido
  • 2333 = Richiesta non valida – dominio WDNS – TSIG primario – formato della chiave non valido
  • 2340= superato il numero massimo di domini per singola azione
  • 3302 = aggiunta del dominio al DNS non riuscita
  • 3303 = il dominio esiste già nel DNS

Return Data

The request returns no data.

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-update",
"clTRID": "your ID",
"data": {
"name": "domain1.tld, domain2.tld",
"axfr_enabled": "0 or 1",
"axfr_ips": "allowed AXFR IP address(es)",
"primary_ip": "primary IP adderess",
"primary_tsig_enabled": "0 or 1",
"primary_tsig_name": "tsig_identifier",
"primary_tsig_alg": "hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384, hmac-sha512 or hmac-md5",
"primary_tsig_key": "TSIG_key_value"
}
}
}

JSON response (OK):

{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command": "dns-domain-update"
}
}

JSON response for multiple domains (OK):

{
"response":{
"code":1000,
"result":"OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command":"dns-domain-update",
"data": [
{
"code":1000,
"result":"OK",
"name":"domain1.tld",
},
{
"code":1000,
"result":"OK",
"name":"domain2.tld",
}
]
}
}

dns-domain-delete

Use the dns-domain-delete request to delete a domain from DNS, including all its records.

Parameters

  • name – domain name, or multiple comma-separated names (required)

Return Values

  • 1000 = ok
  • 2007= dimensione massima della richiesta superata
  • 2340= superato il numero massimo di domini per singola azione
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3301= il record non può essere rimosso
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato

Return Data

The request returns no data.

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-delete",
"clTRID": "your ID",
"data": {
"name": "domain1.tld, domain2.tld"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",,
    "command": "dns-domain-delete"
  }
}

JSON response for multiple domains (OK):

{
"response":{
"code":1000,
"result":"OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command":"dns-domain-delete",
"data": [
{
"code":1000,
"result":"OK",
"name":"domain1.tld",
},
{
"code":1000,
"result":"OK",
"name":"domain2.tld",
}
]
}
}

dns-domain-axfr-run

The dns-domain-axfr-run request updates DNS records from the primary authoritative server via AXFR as soon as possible (within a few minutes). It is used for secondary domains, where we download the content of the zone to our system from another server.

Without this request, AXFR uses the REFRESH and RETRY data in the SOA record.

Parameters

  • name – domain name – required

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2319= può essere eseguito solo per il tipo di dominio secondario
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato

Return Data

  • next_run – time for the next update to take place

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-axfr-run",
"clTRID": "your ID",
"data": {
"name": "domain name"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-domain-axfr-run",
    "data": {
      "next_run": "date and time of next update"
    }
  }
}

dns-domain-axfr-tsig

The dns-domain-axfr-tsig request is used to create/update, delete or display AXFR TSIG key information for one or more domains.

TSIG (Transaction Signature) is an authentication mechanism for DNS transfers (AXFR/IXFR) that provides identity verification between the primary and secondary servers. This verification will be required for all transfers to secondary DNS servers and must exactly match its configuration.

If the primary server doesn’t use TSIG, do not enable this option, the AXFR transfer will fail.

Parameters

  • name – domain name, or multiple comma-separated names (required)
  • axfr_tsig_action – AFXR TSIG action – required
    • create – enable or update AXFR TSIG
    • cancel – disable AXFR TSIG
    • info – display AXFR TSIG info

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2319= può essere eseguito solo per il tipo di dominio secondario
  • 2334 = AXFR TSIG non impostato
  • 2335 = AXFR TSIG non creato
  • 2336 = AXFR TSIG non disattivato
  • 2337 = comando AXFR TSIG non valido
  • 2340 = superato il numero massimo di domini per singola azione
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato

Return Data

  • name = nome di dominio
  • axfr_tsig_action – AFXR TSIG action name
  • axfr_tsig_name – AXFR TSIG key name
  • axfr_tsig_alg – AXFR TSIG key algorithm
  • axfr_tsig_key – AXFR TSIG key value

Templates

JSON request:

{
"request":{
"user": "your@login.tld",
"auth": "authentication string",
"command":"dns-domain-axfr-tsig",
"clTRID": "your ID",
"data":{
"name":"domain1.tld, domain2.tld",
"axfr_tsig_action":"create, cancel, or info"
}
}
}

JSON response for create command (multiple domain states):

{
"response":{
"code": 1000,
"result": "OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command":"dns-domain-axfr-tsig",
"data": [
{
"name":"domain1.tld",
"code":1000,
"result":"OK",
"axfr_tsig_action":"create",
"axfr_tsig_name":"keyname",
"axfr_tsig_alg":"hmac-sha256",
"axfr_tsig_key":"lbOYAMGHc6eSo3R2h6rWrHcsp3iSBp/0D0S7kjRqxLI="
},
{
"name":"domain-swapi-00003y.cz",
"code":3222,
"result":"Domain open failed",
"axfr_tsig_action":"create"
}
]
}
}

dns-domain-copy

Use the dns-domain-copy command to add a domain to DNS by copying the settings and records from another existing one.

Parameters

  • name – name of the original domain (the one you want to copy) – required
  • name_new – name of the newly created domain – required

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome del dominio esistente non valido o non supportato
  • 2320= nome del nuovo dominio non valido o non supportato
  • 2321= TLD del nuovo nome di dominio non supportato
  • 2322= raggiunto il limite del numero di domini nel DNS per utente
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato
  • 3311= copia non riuscita
  • 3312= il nuovo dominio esiste già nel DNS

Return Data

The request returns no data.

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-copy",
"clTRID": "your ID",
"data": {
"name": "original domain name",
"name_new": "new domain name"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-domain-copy"
  }
}

dns-domain-commit

Use the dns-domain-commit request after making any changes to the domain or its DNS records. You confirm the changes and request their distribution to DNS servers.

If you don’t execute the dns-domain-commit command, the system will perform it automatically 5 minutes after the last change.

Parameters

  • name – domain name – required

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato

Return Data

The request returns no data.

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-domain-commit",
"clTRID": "your ID",
"data": {
"name": "domain name"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-domain-commit"
  }
}

dns-rows-list

Use the dns-rows-list request to get a list of domain records in DNS along with basic information.

To get more detailed information about a particular record, use the dns-row-detail request.

Parameters

  • domain – domain name – required

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2318= non può essere eseguito sul tipo di dominio secondario
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato

Response Data

  • row – record
    • ID – record ID
    • name – record name
    • ttl – record TTL
    • rdtype – record type
    • rdata – record data
    • changed_date – date of change
    • author_comment – comment

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-rows-list",
"clTRID": "your ID",
"data": {
"domain": "domain name"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-rows-list",
    "data": {
      "row1": {
        "ID": "record ID",
        "name": "record name (may be empty)",
        "ttl": "TTL",
        "rdtype": "record type",
        "rdata": "record data",
        "changed_date": "date and time of last update",
        "author_comment": "comment"
      }
    }
  }
}

dns-row-detail

The dns-row-detail request returns detailed information about a specific domain DNS record.

To get a complete list of a domain’s records, use the dns-rows-list request.

Parameters

  • name – domain name – required
  • row_id – record ID – required, gained from dns-rows-list

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2318= Questa azione non può essere eseguita su un dominio di tipo secondario
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato
  • 3309= il record DNS richiesto per il dominio non esiste

Return Data

  • row – record
    • ID – record ID
    • name – record name
    • ttl – record TTL
    • rdtype – record type
    • rdata – record data
    • changed_date – date of change
    • author_comment – comment

Templates

JSON request:

{
  "request": {
    "user": "your@login.tld",
    "auth": "authentication string",
    "command": "dns-row-detail",
    "clTRID": "your ID",
    "data": {
      "name": "název domény",
      "row_id": "ID záznamu"
    }
  }
}

JSON response (OK):

{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command": "dns-row-detail",
"data": {
"row1": {
"ID": "record ID",
"name": "record name (may be empty)",
"ttl": "TTL",
"rdtype": "record type",
"rdata": "record data",
"changed_date": "date and time of last update",
"author_comment": "comment"
}
}
}
}

dns-row-add

The dns-row-add request adds a new DNS record to the domain.

By default, a domain can have up to 50 DNS records. If you need more, contact support ⧉. Include the domain name, desired number of records and detailed reasoning in your request.

Parameters

  • domain – domain name – required
  • name – record name – required, but can be empty
  • ttl – TTL value – required
  • type – record type – required
  • rdata – record data – required
  • author_comment – author comment – optional. Sending an empty string clears the previous comment.

Return Values

  • 1000 = ok
  • 2100 = parametro obbligatorio mancante
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2309= tipo di record non valido
  • 2310= impossibile aggiungere un altro record al dominio
  • 2311= nome non valido
  • 2312= nome non valido per questo tipo di record
  • 2313= CNAME non valido per questo nome
  • 2314= dati del record non validi
  • 2315= TLD non valido
  • 2316= questo record esiste già
  • 2317= TTL non valido
  • 2318= l’azione non può essere eseguita su un dominio di tipo secondario
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato
  • 3307 = aggiunta del record di dominio non riuscita
  • 5001 = errore interno di autenticazione

Return Data

The request returns no data.

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-row-add",
"clTRID": "your ID",
"data": {
"domain": "domain name",
"name": "record name (may be empty)",
"ttl": "TTL",
"type": "record type",
"rdata": "record data"
}
}
}

JSON request (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-row-add",
  }
}

dns-row-update

Use the dns-row-update request to change a DNS record.

You cannot change the name and type of a record. In such a situation, delete the original record and then create a new one.

Parameters

  • domain – domain name – required
  • row_id – record ID – required, gained from dns-rows-list
  • ttl – TTL value – required
  • rdata – record data – required
  • author_comment – author comment – optional. Sending an empty string clears the previous comment.

Return Values

  • 1000 = ok
  • 2100 = parametro obbligatorio mancante
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2309= tipo di record non valido
  • 2310= impossibile aggiungere un altro record al dominio
  • 2311= nome non valido
  • 2312= nome non valido per questo tipo di record
  • 2313= CNAME non valido per questo nome
  • 2314= dati del record non validi
  • 2315= TLD non valido
  • 2316= questo record esiste già
  • 2317= TTL non valido
  • 2318= l’azione non può essere eseguita su un dominio di tipo secondario
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato
  • 3310 = aggiornamento del record di dominio non riuscito
  • 5001 = errore interno di autenticazione

Return Data

The request returns no data.

Templates

JSON příkaz:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-row-update",
"clTRID": "your ID",
"data": {
"domain": "domain name",
"row_id": "row ID",
"ttl": "TTL",
"rdata": "record data"
}
}
}

JSON response (OK):

{
  "response": {
    "code": 1000,
    "result": "OK",
    "timestamp": "UTF timestamp",
    "clTRID": "your ID",
    "svTRID": "server ID",
    "command": "dns-row-update"
  }
}

dns-row-delete

Use the dns-row-delete request to delete a DNS record for a domain.

Parameters

  • domain – domain name – required
  • row_id – record ID – required, gained from dns-rows-list

Return Values

  • 1000 = ok
  • 2201= TLD non supportato
  • 2202= nome di dominio non valido o non supportato
  • 2318= azione non valida per il tipo di dominio secondario
  • 3222= apertura del dominio non riuscita
  • 3223= accesso negato
  • 3305= il dominio è bloccato per la modifica
  • 3306= il dominio è eliminato
  • 3308= eliminazione del record non riuscita
  • 3309= il record con questo ID non esiste

Return Data

The request returns no data.

Templates

JSON request:

{
"request": {
"user": "your@login.tld",
"auth": "authentication string",
"command": "dns-row-delete",
"clTRID": "your ID",
"data": {
"domain": "domain name",
"row_id": "record ID"
}
}
}

JSON request (OK):

{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UTF timestamp",
"clTRID": "your ID",
"svTRID": "server ID",
"command": "dns-row-delete",
}
}

Questo articolo le è stato utile?

Il suo giudizio ci aiuta a migliorare i nostri articoli.

Il suo messaggio viene letto dal team della documentazione, che però non risponde. Se ha bisogno di aiuto, contattici tramite il modulo di contatto. Non inserisca password né dati personali.

Didn’t find what you were looking for?

Send us your question using the contact form.