To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
 You cannot register this service. Contact Support

API dinahosting

All the commands you need
If you have doubts, we help you for free

api.cta__h1

API dinahosting

Todos los comandos que necesitas para implementar tu propia plataforma de venta y gestión de dominios, alojamiento web, VPS... usando tu interfaz, automatizando y planificando acciones sobre uno o varios servicios.

  • API en PDF

    Download Fecha de actualización: 04/12/2025 08:30:37
  • Librería de archivos

    Download Dinahosting HTTP_Request libary files

Documentación de la API

A continuación se muestra la documentación completa de la API de dinahosting y la lista de comandos disponibles. Cada comando incluye una descripción detallada de su funcionamiento, los parámetros que admite y los posibles tipos de respuesta.

Al seleccionar un comando, se mostrará también un generador de peticiones y un simulador de respuesta, que te permitirán probar cómo invocar la API y visualizar la respuesta real que devuelve el servidor.

List of commands

List of errors

Domain_Zone_AddTypeSRV

Adds a new type SRV zone ( service zone ).
This command doesn't work with .tel domains.
1.0 -> 1.1: Improved parameter validation and documentation.
Version: 1.1
Special errors:
PARAM_VALUE_SYNTAX If hostname is not valid.
COMMAND_USE_ERROR If used on a .tel domain.
OBJECT_EXISTS If already exists a zone SRV for that hostname.

Parameters

  • domain (string): Domain name. The parameter is required.
  • service (string): Service. The parameter is required. Accepted parameter values: "http","ftp","scp","https","tftpd","smtp","imap","pop3","imaps","pop3s","named","ldap","ssh","dhcp","radius","sip","sipfederationtls","xmpp-server","xmpp-client","jabber","autodiscover","sipinternaltls".
  • protocol (string): Protocol. The parameter is required. Accepted parameter values: "tcp","udp","tls".
  • priority (int): Priority (integer value). The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 0 and 100 inclusive.
  • weight (int): Weight (integer value) used when same priority. The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 0 and 100 inclusive.
  • port (int): Destination port number (integer value). The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 0 and 65535 inclusive.
  • destination (string): Destination domain . The parameter is required.

Tipo de datos de respuesta

void

Generador de código

Genera fácilmente el código completo de tu petición en distintos lenguajes.

Domain name.

Service.

Protocol.

Priority (integer value).

Weight (integer value) used when same priority.

Destination port number (integer value).

Destination domain .

 
 

Simulador

Prueba tu petición y obtén al instante una respuesta simulada de ejemplo.

Domain name.

Service.

Protocol.

Priority (integer value).

Weight (integer value) used when same priority.

Destination port number (integer value).

Destination domain .