5.7.3. Update nsset

A nsset update command is used to alter details of an nsset.

The nsset update command is an update element in the nsset namespace (http://www.nic.cz/xml/epp/nsset-1.2).

The command must be contained in the <update> command type.

5.7.3.1. Command element structure

The <nsset:update> element must declare the nsset namespace and schema and it must contain the following child elements:

  • <nsset:id> (1) – an nsset handle as fredcom:objIDType,

  • <nsset:add> (0..1) – a list of items that will be added to this nsset:

    • <nsset:ns> (0..10) – a nameserver given by:
    • <nsset:tech> (0..n) – a handle of a contact that will be added as a technical contact as fredcom:objIDType,

  • <nsset:rem> (0..1) – a list of items that will be removed from this nsset:

  • <nsset:chg> (0..1) – the new values of nsset attributes that will be replaced by this update. Omitted attributes will remain unchanged.

    • <nsset:authInfo> (0..1) – change the nsset’s authorization information (AuthInfo) as fredcom:authInfoType,

    • <nsset:reportlevel> (0..1) – change the level of technical checks to be reported as nsset:reportlevelType.

Important

Since FRED 2.48.0, server can be configured so that the AuthInfo must meet some basic requirements, such as minimum length (which can be configured).

[registry]
# Minimal length of authinfo
authinfo_length_min = 8

Calling update object with empty AuthInfo leads to removal of all object AuthInfos.

Example
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
   <update>
      <nsset:update xmlns:nsset="http://www.nic.cz/xml/epp/nsset-1.2"
       xsi:schemaLocation="http://www.nic.cz/xml/epp/nsset-1.2 nsset-1.2.4.xsd">
         <nsset:id>NID-MYNSSET</nsset:id>
         <nsset:add>
            <nsset:ns>
               <nsset:name>ns.otherdomain.cz</nsset:name>
               <nsset:addr>217.31.207.130</nsset:addr>
               <nsset:addr>217.31.207.131</nsset:addr>
            </nsset:ns>
            <nsset:tech>CID-TECH2</nsset:tech>
         </nsset:add>
         <nsset:rem>
            <nsset:name>ns2.mydomain.cz</nsset:name>
            <nsset:tech>CID-TECH1</nsset:tech>
         </nsset:rem>
         <nsset:chg>
            <nsset:reportlevel>4</nsset:reportlevel>
         </nsset:chg>
      </nsset:update>
   </update>
   <clTRID>kgev002#17-07-18at15:38:08</clTRID>
</command>
</epp>
FRED-client equivalent
> update_nsset NID-MYNSSET (((ns.otherdomain.cz (217.31.207.130, 217.31.207.131))) CID-TECH2) (ns2.mydomain.cz CID-TECH1) NULL 4

5.7.3.2. Response element structure

The FRED EPP server responds with a plain result message which does not contain any response data (no <resData>).

See also Success or failure of a command.