Update nsgroup[Link]

Purpose

to update the contents of a name server group.

Note

a nsgroup update updates the whole object at once (there are no <add>, <chg> or <rem> sections as with others EPP objects).

The command structure is identical to the one for the <create> nsgroup and has the same remarks.

Please refer to the examples to see a complete request.

Examples[Link]

An update nsgroup command looks like:

<epp xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd http://www.dns.be/xml/epp/nsgroup-1.0 nsgroup-1.0.xsd" xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nsgroup="http://www.dns.be/xml/epp/nsgroup-1.0">
  <command>
    <update>
      <nsgroup:update>
        <nsgroup:name>mynsgroup1</nsgroup:name>
        <nsgroup:ns>ns1.nameserver.be</nsgroup:ns>
        <nsgroup:ns>ns2.nameserver.be</nsgroup:ns>
        <nsgroup:ns>ns3.nameserver.be</nsgroup:ns>
      </nsgroup:update>
    </update>
    <clTRID>clientref-00013</clTRID>
  </command>
</epp>

In case of successful update, the EPP server responds with a standard EPP response message:

<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
    <result code="1000">
      <msg>Command completed successfully</msg>
    </result>
    <trID>
      <clTRID>clientref-00013</clTRID>
      <svTRID>dnsbe-25</svTRID>
    </trID>
  </response>
</epp>

Note

When updating a name server group, you are replacing all existing name servers by the set provided in the update command. So if you want to keep the existing name servers and just add another one, you need to respecify the old ones and add the new one.