API: update_domain_sub

\n

Command for changing the settings of an existing foreign domain (everything except .CZ – for Czech domains use the command update_domain). A summary of the requested changes will be sent to the domain holder's e-mail address for approval; the change is carried out at the registrar only after confirmation.

\n

Specify only what you want to change. An omitted element remains unchanged. The order of the elements does not matter.

\n

Parameters:

\n
    \n
  • domain - domain name
  • \n
  • ns - name server. List all name servers of the domain, each in its own element (the number depends on the rules of the given TLD, usually 2 to 10). The name server must be created in your account beforehand (see create_ns)
  • \n
  • admin - administrative contact. Only for TLDs that support it
  • \n
  • tech - technical contact. Only for TLDs that support it
  • \n
  • dnssec - 0 = switch DNSSEC off and remove the DS records, 1 = use the DS records of the TELE3 DNS servers, 2 = custom DS records (specify them in ds elements)
  • \n
  • ds - custom DS record for dnssec = 2, contains tag, alg, digest_type and digest. Up to 10 records may be specified
  • \n
\n

The attribute test="true" on the update_domain_sub element only checks the input and lists what would change. No request is created in this mode.

\n

DNSSEC warning: if you change the name servers to servers other than those of TELE3 and do not supply new DS records at the same time, the existing DS records will be removed automatically. This prevents a situation in which the domain would remain signed with the key of the original DNS servers and would become unreachable.

\n

Return codes:

\n
    \n
  • 1000 OK – the request has been created and sent for approval
  • \n
  • 2008 Nothing to change – the values sent match the current state
  • \n
  • 2013 Invalid nameservers section – unacceptable number of name servers or duplicates
  • \n
  • 2014 No such nameserver – the name server is not available in your account
  • \n
  • 8000 Not supported TLD – for this TLD use the update_domain command
  • \n
  • 8001 Object does not belong to your account – the domain is not in your account
  • \n
  • 8002 This object is not allowed to be edited by this user – the TLD does not support the given item
  • \n
  • 8006 This domain is not under TELE3
  • \n
  • 8009 Contact is not available on your account
  • \n
  • 8800 Malformed input – incorrect value of dnssec or of a DS record
  • \n
  • 2017 Cannot sign a zone hosted elsewhere – dnssec=1 (signing by TELE3) can be used only for a domain on the TELE3 name servers; dnssec=2 (custom DS), conversely, only where the DNS is operated by someone else. Otherwise the domain would be left with a DS record for which no matching key exists, and the domain would stop working.
  • \n
\n

Return values:

\n
    \n
  • request_id - identifier of the created request
  • \n
\n

Example – changing the technical contact and name servers:

\n
\n<?xml version="1.0" encoding="UTF-8"?>\n<api>\n<ssid>p156VcVgXzziW0wRHuFciSstsve1Fe</ssid>\n<update_domain_sub>\n<domain>hubero.net</domain>\n<ns>ns1.tele3.cz</ns>\n<ns>ns2.tele3.cz</ns>\n<tech>G-001131</tech>\n</update_domain_sub>\n</api>\n
\n
\n<?xml version="1.0" encoding="UTF-8"?>\n<api>\n<credit currency="CZK">100.00</credit>\n<status code="1000">OK</status>\n<update_domain_sub>\n<request_id>21943</request_id>\n<note>Change awaits e-mail confirmation by the authorized contact.</note>\n</update_domain_sub>\n</api>\n
\n

Example – removing DNSSEC:

\n
\n<?xml version="1.0" encoding="UTF-8"?>\n<api>\n<ssid>p156VcVgXzziW0wRHuFciSstsve1Fe</ssid>\n<update_domain_sub>\n<domain>hubero.net</domain>\n<dnssec>0</dnssec>\n</update_domain_sub>\n</api>\n
\n

Example – custom DS record:

\n
\n<?xml version="1.0" encoding="UTF-8"?>\n<api>\n<ssid>p156VcVgXzziW0wRHuFciSstsve1Fe</ssid>\n<update_domain_sub>\n<domain>hubero.net</domain>\n<dnssec>2</dnssec>\n<ds>\n<tag>21203</tag>\n<alg>13</alg>\n<digest_type>2</digest_type>\n<digest>D4A0CD09EAB05AB1F5655EF041FD512A1EF4AC6E5578EA68F5EECF61234ED0EA</digest>\n</ds>\n</update_domain_sub>\n</api>\n
 
© 2005-2026 TELE3 | all rights reserved | Your IP 216.73.216.116
 we accept payments via Fio bankawe accept payments via Raiffeisenbankwe generate QR paymentsonline payments Visaonline payments MasterCardwe support IPv6DNSSEC domain securityGreenCloud electricity sharingDebian serverUbuntu serverProxmox Virtual Environmentaccredited and certified .CZ domain registrarCisco CCNA certification